Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clarify where OCI-Chunk-Min-Length response headers are expected (#481)
The first section speaks about a chunked upload with three stages of HTTP requests (POST, PATCH, PUT), so the wording "the response" is ambiguous as to which one of the three requests it's for. The conformance tests seem to imply POST, and that is what makes the most sense to me - if the server only gives the minimum after the first PATCH or PUT, the client might have already written chunks which are too small without realising. Another bit of the spec talks about the same header, but refers explicitly to the PUT response of a chunked upload. This again doesn't feel right: I think POST was meant instead. Giving the minimum as part of the final PUT response is pointless, since the client isn't writing any more chunks after that point. Signed-off-by: Daniel Martí <[email protected]>
- Loading branch information