Opened 3 years ago

Last modified 3 years ago

#6741 enhancement new

Get remote ip from `twisted.web._newclient.Response` instance

Reported by: dizpers Owned by:
Priority: high Milestone:
Component: web Keywords:
Cc: jknight, glyph Branch:


I have a code (using twisted web client), which make requests to web-sites (request by hostname, for example - Remote host send a response. How can I get IP of the host, which sent a response?

Change History (4)

comment:1 Changed 3 years ago by DefaultCC Plugin

  • Cc jknight added

comment:2 Changed 3 years ago by glyph

  • Cc glyph added

comment:3 Changed 3 years ago by glyph

Seems like a somewhat important oversight to me. For example: recording which actual IP you ended up talking to in a round-robin server configuration can be a critical bit of instrumentation information when reporting issues with an API endpoint.

comment:4 Changed 3 years ago by glyph

  • Priority changed from normal to high

(Insofar as priority even means anything at this point, this is "high" in that it is something that should surely be done.)

Note: See TracTickets for help on using tickets.