-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pulling a blob doesn't specify 307 as a valid response status code #397
Comments
Should the spec also allow 206 partial content success status? |
@sajayantony the wording here is covering the success case for an "existing blob." As for redirect failure.. I don't think we've added redirects to the distribution spec yet.. but I see you have a PR for that. #398 :-) @northtyphoon partial content is not supported because the digest is calculated against the entire blob.. |
Would like to get feedback if we should just add this to pull manifest and blobs - as per @sudo-bmitch
|
I'd lean towards adding a section to API indicating that clients and servers should follow the HTTP RFCs unless directed otherwise in the distribution spec. |
The specification currently expects a registry to return 200 status code on
GET
on pulling a blob which may not be the case with many implementations. A 307 is a valid response and it seems like this might have been missed in the spec.The text was updated successfully, but these errors were encountered: