Browse code

Fix Authorization headers

Kyle Conroy authored on 2013/09/26 17:19:49
Showing 1 changed files
... ...
@@ -61,7 +61,7 @@ Layer
61 61
         Host: registry-1.docker.io
62 62
         Accept: application/json
63 63
         Content-Type: application/json
64
-        Authorization: Token signature=3200f02,repository="namespace/user",access=write'
64
+        Authorization: Token signature=123abc,repository="foo/bar",access=read
65 65
 
66 66
     :parameter image_id: the id for the layer you want to get
67 67
 
... ...
@@ -92,7 +92,7 @@ Layer
92 92
         PUT /v1/images/088b4505aa3adc3d35e79c031fa126b403200f02f51920fbd9b7c503e87c7a2c/layer HTTP/1.1
93 93
         Host: registry-1.docker.io
94 94
         Transfer-Encoding: chunked
95
-        Authorization: Token signature=3200f02,repository="namespace/user",access=write'
95
+        Authorization: Token signature=123abc,repository="foo/bar",access=write
96 96
 
97 97
         {layer binary data stream}
98 98