#1489 Unnecessary httpd redirect on cli build status polling
Closed: Fixed 3 years ago by praiskup. Opened 3 years ago by praiskup.

We should either request directly the url with the slash by client, or accept both
the url variants on frontend:

127.0.0.1 - - [01/Sep/2020 19:25:29] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:25:29] "GET /api_3/build/1638898/ HTTP/1.1" 200 -
127.0.0.1 - - [01/Sep/2020 19:25:59] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:25:59] "GET /api_3/build/1638898/ HTTP/1.1" 200 -
127.0.0.1 - - [01/Sep/2020 19:26:29] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:26:29] "GET /api_3/build/1638898/ HTTP/1.1" 200 -
127.0.0.1 - - [01/Sep/2020 19:26:59] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:26:59] "GET /api_3/build/1638898/ HTTP/1.1" 200 -
127.0.0.1 - - [01/Sep/2020 19:27:29] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:27:29] "GET /api_3/build/1638898/ HTTP/1.1" 200 -
127.0.0.1 - - [01/Sep/2020 19:27:59] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:27:59] "GET /api_3/build/1638898/ HTTP/1.1" 200 -
127.0.0.1 - - [01/Sep/2020 19:28:29] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:28:29] "GET /api_3/build/1638898/ HTTP/1.1" 200 -
127.0.0.1 - - [01/Sep/2020 19:29:00] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:29:00] "GET /api_3/build/1638898/ HTTP/1.1" 200 -
127.0.0.1 - - [01/Sep/2020 19:29:30] "GET /api_3/build/1638898 HTTP/1.1" 308 -
127.0.0.1 - - [01/Sep/2020 19:29:30] "GET /api_3/build/1638898/ HTTP/1.1" 200 

Metadata Update from @praiskup:
- Issue tagged with: bug, easyfix

3 years ago

Metadata Update from @schlupov:
- Issue assigned to schlupov

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1602 Merged 3 years ago