Opened 2 years ago

Last modified 2 years 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@… Branch:
Author: Launchpad Bug:

Description (last modified by glyph)

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

comment:1 Changed 2 years ago by glyph

  • Component changed from core to web

comment:2 Changed 2 years ago by amacleod

  • Cc allister.macleod@… added

comment:3 Changed 2 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 2 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.

Note: See TracTickets for help on using tickets.