distribution/registry/api/v2
Derek McGowan 5c43c3b0ee
Remove support for X-Forwarded-Port
Partially reverts change adding support for X-Forwarded-Port.
Changes the logic to prefer the standard Forwarded header over
X-Forwarded headers. Prefer forwarded "host" over "for" since
"for" represents the client and not the client's request.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2017-03-20 17:02:58 -07:00
..
descriptors.go Document TOOMANYREQUESTS error code 2016-07-12 12:18:54 -06:00
doc.go Move registry api definitions under registry package 2015-02-10 17:32:22 -08:00
errors.go Typo fixes in comments 2016-02-10 16:26:29 -08:00
headerparser.go Honor X-Forwarded-Port and Forwarded headers 2016-11-02 16:49:42 +01:00
headerparser_test.go Honor X-Forwarded-Port and Forwarded headers 2016-11-02 16:49:42 +01:00
routes.go Catalog for V2 API Implementation 2015-07-21 21:45:14 -07:00
routes_test.go Remove tarsum support for digest package 2015-12-15 17:22:18 -08:00
urls.go Remove support for X-Forwarded-Port 2017-03-20 17:02:58 -07:00
urls_test.go Remove support for X-Forwarded-Port 2017-03-20 17:02:58 -07:00