Ticket #5806 enhancement new
twisted.web.proxy should send (x-)forwarded-for header
| Reported by: | glyph | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | web | Keywords: | |
| Cc: | allister.macleod@… | Branch: | |
| Author: | Launchpad Bug: |
Description (last modified by glyph) (diff)
This is a long-standing convention that is at least partway through the standards process: http://tools.ietf.org/html/draft-petersson-forwarded-for-02
All outgoing HTTP requests from twisted.web.proxy.ProxyClient should (optionally) emit a Forwarded-For and X-Forwarded-For header that describes the original client that made the request that they are forwarding. This should be easily configurable at the level of instantiating ReverseProxyResource and Proxy.
Change History
Note: See
TracTickets for help on using
tickets.
