Code review comment for ~fwieffering/maas:tgt-redfish-bugfix

Revision history for this message
Blake Rouse (blake-rouse) wrote :

I would hope in the case that a ending slash is required the BMC would return a 301 redirect to the URL with a slash append, we should ensure that we handle a 301 or 302 redirect.

If it returns a 404 we could retry with a pending slash, just to be sure. Seems like its better to be defensive, sense this is not documented in the specification on the proper way.

« Back to merge proposal