Actions
Bug #36425
closeduseless redirect when fetching pulp3 status
Description
my pulp (api) logs are full of:
May 23 09:38:47 example.com pulpcore-api[597535]: pulp [25cfd504-6b87-4980-97d9-0c17fd3a5ad0]: - - [23/May/2023:09:38:47 +0000] "GET /pulp/api/v3/status HTTP/1.1" 301 0 "-" "rest-client/2.1.0 (linux x86_64) ruby/2.7.6p219" May 23 09:38:47 example.com pulpcore-api[597535]: pulp [25cfd504-6b87-4980-97d9-0c17fd3a5ad0]: - - [23/May/2023:09:38:47 +0000] "GET /pulp/api/v3/status/ HTTP/1.1" 200 4532 "-" "rest-client/2.1.0 (linux x86_64) ruby/2.7.6p219"
this is because Katello asks for the pulpcore api status at /pulp/api/v3/status, but pulpcore decides that this is the wrong URL and redirects to one with a slash.
the redirect doesn't really hurt, but it's wasting resources, so let's get rid of it :)
Actions