1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/sources
Dan Walsh 69fe3e1a34 On Red Hat Registry Servers we return 404 on certification errors.
We do this to prevent leakage of information, we don't want people
to be able to probe for existing content.

According to RFC 2616, "This status code (404) is commonly used when the server does not
wish to reveal exactly why the request has been refused, or when no other response i
is applicable."

https://www.ietf.org/rfc/rfc2616.txt

10.4.4 403 Forbidden

   The server understood the request, but is refusing to fulfill it.
   Authorization will not help and the request SHOULD NOT be repeated.
   If the request method was not HEAD and the server wishes to make
   public why the request has not been fulfilled, it SHOULD describe the
   reason for the refusal in the entity.  If the server does not wish to
   make this information available to the client, the status code 404
   (Not Found) can be used instead.

10.4.5 404 Not Found

   The server has not found anything matching the Request-URI. No
   indication is given of whether the condition is temporary or
   permanent. The 410 (Gone) status code SHOULD be used if the server
   knows, through some internally configurable mechanism, that an old
   resource is permanently unavailable and has no forwarding address.
   This status code is commonly used when the server does not wish to
   reveal exactly why the request has been refused, or when no other
   response is applicable.

When docker is running through its certificates, it should continue
trying with a new certificate even if it gets back a 404 error code.

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
2014-10-20 13:20:48 -04:00
..
article-img Replacing ASCII art image with real diagram 2014-04-16 11:24:07 -04:00
articles On Red Hat Registry Servers we return 404 on certification errors. 2014-10-20 13:20:48 -04:00
contributing Replace utils.CheckLocalDns with bytes.Contains line 2014-09-29 06:37:31 -04:00
docker-hub README.md is a sub-section in how to build automated builds 2014-10-13 17:00:58 +10:00
examples Minor changes to SSHd example 2014-10-11 16:30:36 -04:00
installation Link directly to the 'latest' release alias 2014-10-14 09:20:55 +10:00
introduction Consistently use 'sudo docker' in examples 2014-09-16 11:49:05 +10:00
reference Fixed a minor docs issue in a Dockerfile Example 2014-10-19 10:16:30 -07:00
static_files docs: shrink images 2014-09-15 14:46:29 +03:00
terms docs: shrink images 2014-09-15 14:46:29 +03:00
userguide Update dockerimages.md 2014-10-16 22:16:29 -04:00
articles.md Add daemon flag to specify public registry mirrors 2014-09-09 19:03:38 +00:00
contributing.md Docs auto-conversion fixes and MD marking and structure improvements. 2014-04-24 22:19:32 +10:00
examples.md Adding User Guide 2014-06-01 17:34:07 -04:00
faq.md Add "DEBIAN_FRONTEND" to FAQ 2014-08-11 23:12:47 +02:00
genindex.md now, with shiney markdown 2014-04-16 11:04:14 +10:00
http-routingtable.md Documenting Container Tty resize api 2014-09-26 16:26:21 +00:00
index.md Edits and additions to release notes. 2014-10-16 18:16:52 -07:00
installation.md Added basic Debian installation page 2014-05-18 18:55:36 -04:00
jsearch.md Remove version selector and edit on Github on search page, as it only searches the latest docs 2014-10-14 11:54:41 +10:00
reference.md Docs auto-conversion fixes and MD marking and structure improvements. 2014-04-24 22:19:32 +10:00
search.md now, with shiney markdown 2014-04-16 11:04:14 +10:00
terms.md Docs auto-conversion fixes and MD marking and structure improvements. 2014-04-24 22:19:32 +10:00
toctree.md Docs auto-conversion fixes and MD marking and structure improvements. 2014-04-24 22:19:32 +10:00