distribution/registry/api/v2
wang yan d7a2b14489 add content range handling in patch blob
Fixes #3141

1, return 416 for Out-of-order blob upload
2, return 400 for content length and content size mismatch

Signed-off-by: wang yan <wangyan@vmware.com>
2021-05-11 23:35:15 +08:00
..
descriptors.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
doc.go Move registry api definitions under registry package 2015-02-10 17:32:22 -08:00
errors.go add content range handling in patch blob 2021-05-11 23:35:15 +08:00
headerparser.go Honor X-Forwarded-Port and Forwarded headers 2016-11-02 16:49:42 +01:00
headerparser_test.go Honor X-Forwarded-Port and Forwarded headers 2016-11-02 16:49:42 +01:00
routes.go Enable struct check 2018-08-06 13:55:43 -07:00
routes_test.go api: url typo in specification 2017-07-18 14:48:55 -07:00
urls.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00
urls_test.go go.mod: change imports to github.com/distribution/distribution/v3 2021-02-08 18:30:46 +01:00