mirror of https://github.com/docker/docs.git
Fix Authorization headers
This commit is contained in:
parent
34e28ccc88
commit
818ec10da3
|
|
@ -61,7 +61,7 @@ Layer
|
||||||
Host: registry-1.docker.io
|
Host: registry-1.docker.io
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
Authorization: Token signature=3200f02,repository="namespace/user",access=write'
|
Authorization: Token signature=123abc,repository="foo/bar",access=read
|
||||||
|
|
||||||
:parameter image_id: the id for the layer you want to get
|
:parameter image_id: the id for the layer you want to get
|
||||||
|
|
||||||
|
|
@ -92,7 +92,7 @@ Layer
|
||||||
PUT /v1/images/088b4505aa3adc3d35e79c031fa126b403200f02f51920fbd9b7c503e87c7a2c/layer HTTP/1.1
|
PUT /v1/images/088b4505aa3adc3d35e79c031fa126b403200f02f51920fbd9b7c503e87c7a2c/layer HTTP/1.1
|
||||||
Host: registry-1.docker.io
|
Host: registry-1.docker.io
|
||||||
Transfer-Encoding: chunked
|
Transfer-Encoding: chunked
|
||||||
Authorization: Token signature=3200f02,repository="namespace/user",access=write'
|
Authorization: Token signature=123abc,repository="foo/bar",access=write
|
||||||
|
|
||||||
{layer binary data stream}
|
{layer binary data stream}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue