Opened 14 months ago

Last modified 14 months 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:
Author: Launchpad Bug:

Description

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

Change History (4)

comment:1 Changed 14 months ago by DefaultCC Plugin

  • Cc jknight added

comment:2 Changed 14 months ago by glyph

  • Cc glyph added

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