Merge pull request #1569 from GameScripting/patch-1

added heading to get more focus into the headers that need to be set
This commit is contained in:
Richard Scothern 2016-03-28 10:34:48 -07:00
commit 72ec74834b

View file

@ -117,6 +117,7 @@ instances. Configuring different redis instances will work (at the time
of writing), but will not be optimal if the instances are not shared, causing of writing), but will not be optimal if the instances are not shared, causing
more requests to be directed to the backend. more requests to be directed to the backend.
#### Important/Required HTTP-Headers
Getting the headers correct is very important. For all responses to any Getting the headers correct is very important. For all responses to any
request under the "/v2/" url space, the `Docker-Distribution-API-Version` request under the "/v2/" url space, the `Docker-Distribution-API-Version`
header should be set to the value "registry/2.0", even for a 4xx response. header should be set to the value "registry/2.0", even for a 4xx response.