You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The REST methods should handle redirects. One issue I've already run into is that for Synergy Enclsoures, trying to get the script (enc.script) gives a 301 error message saying it has moved to a LogicalEnclosure uri.
I think we could implements something pretty similar to this, where we only follow redirects up to 3 or 5 times.
Because we need the data to re-submit the request, we'll need to handle this in the rest_api method, not response_handler.
Environment Details
OneView SDK Version: 3.1.0
OneView Appliance Version: All
OneView Client API Version: All
Steps to Reproduce
With a client using api_version 300 as @client, talking to a v300 DCS...
Scenario/Intent
The REST methods should handle redirects. One issue I've already run into is that for Synergy Enclsoures, trying to get the script (
enc.script
) gives a 301 error message saying it has moved to a LogicalEnclosure uri.I think we could implements something pretty similar to this, where we only follow redirects up to 3 or 5 times.
Because we need the data to re-submit the request, we'll need to handle this in the rest_api method, not response_handler.
Environment Details
Steps to Reproduce
With a client using api_version 300 as
@client
, talking to a v300 DCS...Expected Result
It to be able to get the script (following any redirects needed to get there)
Actual Result
I get this error:
The text was updated successfully, but these errors were encountered: