SNIA / Swordfish-API-Emulator

The Swordfish API Emulator can emulate a Swordfish-based system statically or dynamically. Starting from an initial state described by mock-ups, the emulator can be used to emulate a Swordfish system responding to create/modify/delete operations in order to allow developers to model new Swordfish functionality, test clients, demonstrate Swordfish and other similar functions.
Other
22 stars 19 forks source link

swordfishmockups.com - redirection chain #140

Open commonism opened 3 months ago

commonism commented 3 months ago

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.
rahlvers commented 2 months ago

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