mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
98d9b5f589
Change checkResponse to only expect the configured X-Content-Type-Options header if it doesn't receive a 405 error, which means the handler isn't registered for that method. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> |
||
---|---|---|
.. | ||
api_test.go | ||
app_test.go | ||
app.go | ||
basicauth_prego14.go | ||
basicauth.go | ||
blob.go | ||
blobupload.go | ||
catalog.go | ||
context.go | ||
helpers.go | ||
hmac_test.go | ||
hmac.go | ||
hooks.go | ||
images.go | ||
mail.go | ||
tags.go |