distribution/registry/api/v2
Josh Hawn 46e1d28070 Updated urlbuilder X-Forwarded-Host logic
According to the Apache mod_proxy docs, X-Forwarded-Host can be a
comma-separated list of hosts, to which each proxy appends the requested
host. We want to grab only the first from this comma-separated list
to get the original requested Host when building URLs.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-05-06 11:04:51 -07:00
..
descriptors.go Update final upload chunk api doc 2015-04-15 17:55:15 -07:00
doc.go Move registry api definitions under registry package 2015-02-10 17:32:22 -08:00
errors.go spec: fetch manifests by tag or digest 2015-03-04 21:39:36 -08:00
errors_test.go Move registry api definitions under registry package 2015-02-10 17:32:22 -08:00
names.go Remove max repository component length restriction 2015-03-06 19:55:33 -05:00
names_test.go Remove max repository component length restriction 2015-03-06 19:55:33 -05:00
routes.go Path prefix support for running registry somewhere other than root of server 2015-02-26 16:04:43 -08:00
routes_test.go Stronger validation for uuid field in urls 2015-04-01 18:57:59 -07:00
urls.go Updated urlbuilder X-Forwarded-Host logic 2015-05-06 11:04:51 -07:00
urls_test.go Updated urlbuilder X-Forwarded-Host logic 2015-05-06 11:04:51 -07:00