mirror of
https://github.com/distribution/distribution
synced 2024-11-06 19:35:52 +01:00
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
@ -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 New Issue
Block a user