forked from TrueCloudLab/distribution
added heading to get more focus into the headers that need to be set
Signed-off-by: Daniel Huhn <daniel@danielhuhn.de>
This commit is contained in:
parent
f4b6fc8d68
commit
321e0420bf
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue