Opened 5 years ago

Last modified 3 months ago

#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, github@… Branch:

Description (last modified by Evilham)

This is a long-standing convention that is at least partway through the standards process:

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 (6)

comment:1 Changed 5 years ago by Glyph

Component: coreweb

comment:2 Changed 5 years ago by Allister MacLeod

Cc: Allister MacLeod added

comment:3 Changed 5 years ago by Glyph

I need to fill this out with some more details; if you want to implement it please comment first so I can fill you in.

comment:4 Changed 5 years ago by Glyph

Description: modified (diff)

I think that this is all there is to say about it, but again, please feel free to ask for clarification if there is not enough specificity.

comment:5 Changed 3 months ago by Evilham

Cc: github@… added

comment:6 Changed 3 months ago by Evilham

Description: modified (diff)

Changed IEFT link, since it's now RFC7239

Note: See TracTickets for help on using tickets.