SNIA/Swordfish-API-Emulator

swordfishmockups.com - redirection chain

Opened this issue · 1 comments

The redirection for swordfishmockups is https -> http -> https…/, basically tripling the amount of requests/time required.

wget --spider https://service-based-mockups.swordfishmockups.com/redfish/v1
Spider mode enabled. Check if remote file exists.
--2024-06-10 09:01:24--  https://service-based-mockups.swordfishmockups.com/redfish/v1
Resolving service-based-mockups.swordfishmockups.com (service-based-mockups.swordfishmockups.com)... 2606:4700:3031::ac43:d873, 2606:4700:3031::6815:25f8, 104.21.37.248, ...
Connecting to service-based-mockups.swordfishmockups.com (service-based-mockups.swordfishmockups.com)|2606:4700:3031::ac43:d873|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://service-based-mockups.swordfishmockups.com/redfish/v1/ [following]
Spider mode enabled. Check if remote file exists.
--2024-06-10 09:01:24--  http://service-based-mockups.swordfishmockups.com/redfish/v1/
Connecting to service-based-mockups.swordfishmockups.com (service-based-mockups.swordfishmockups.com)|2606:4700:3031::ac43:d873|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://service-based-mockups.swordfishmockups.com/redfish/v1/ [following]
Spider mode enabled. Check if remote file exists.
--2024-06-10 09:01:24--  https://service-based-mockups.swordfishmockups.com/redfish/v1/
Connecting to service-based-mockups.swordfishmockups.com (service-based-mockups.swordfishmockups.com)|2606:4700:3031::ac43:d873|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Remote file exists.

OK - will take a look at the configuration and see if I can optimize.