From 818ec10da3813dfd582450093739cc4619e99b6d Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Thu, 26 Sep 2013 01:19:49 -0700 Subject: [PATCH] Fix Authorization headers --- docs/sources/api/registry_api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/api/registry_api.rst b/docs/sources/api/registry_api.rst index 94e1c3b3e0..ad5c9db133 100644 --- a/docs/sources/api/registry_api.rst +++ b/docs/sources/api/registry_api.rst @@ -61,7 +61,7 @@ Layer Host: registry-1.docker.io Accept: 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 @@ -92,7 +92,7 @@ Layer PUT /v1/images/088b4505aa3adc3d35e79c031fa126b403200f02f51920fbd9b7c503e87c7a2c/layer HTTP/1.1 Host: registry-1.docker.io 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}