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) |
||
|---|---|---|
| .. | ||
| descriptors.go | ||
| doc.go | ||
| errors.go | ||
| headerparser.go | ||
| headerparser_test.go | ||
| routes.go | ||
| routes_test.go | ||
| urls.go | ||
| urls_test.go | ||