On Sat, 2020-05-09 at 19:48 -0400, C c wrote: > Hi, I'm sure this has been asked before, but the mail search found no > results. > I'm using latest version 5. > How do I get the IP address other than the headers?
IP address is not a property of the request. It is a property of the endpoint used to execute the request. Endpoint details can be obtained from the execution context: http://hc.apache.org/httpcomponents-core-5.0.x/httpcore5/apidocs/org/apache/hc/core5/http/EndpointDetails.html http://hc.apache.org/httpcomponents-core-5.0.x/httpcore5/apidocs/org/apache/hc/core5/http/protocol/HttpCoreContext.html#getEndpointDetails() Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org