Add 307 as valid response for pulling blobs#398
Add 307 as valid response for pulling blobs#398sajayantony wants to merge 1 commit intoopencontainers:mainfrom
Conversation
Signed-off-by: Sajay Antony <sajaya@microsoft.com>
|
does this affect conformance tests at all, or are redirects simply followed? (i think they are) |
|
Redirects are followed automatically in Go (https://pkg.go.dev/net/http#Client). Does this need to be more generic than just on a blob GET, i.e. a statement at the top indicating http redirect status codes should be supported by clients according to https://www.rfc-editor.org/rfc/rfc7231#section-6.4 |
That would seem to cover all bases here |
|
hmm.. adding redirects to the spec probably requires further consideration. Was there any progress on creating a WG for auth? |
|
|
Closing this PR for now but will consider bringing up the issue during the call. Currently multiple clients already follow redirects but seems like this is intermingled with auth. |
Fixes #397