Opened 4 years ago

Last modified 4 years ago

#6741 enhancement new

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

Reported by: Dmitry Owned by:
Priority: high Milestone:
Component: web Keywords:
Cc: jknight, Glyph Branch:
Author:

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 4 years ago by DefaultCC Plugin

Cc: jknight added

comment:2 Changed 4 years ago by Glyph

Cc: Glyph added

comment:3 Changed 4 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 4 years ago by Glyph

Priority: normalhigh

(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.