You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Maciej Gawinecki <mg...@gmail.com> on 2017/02/13 13:04:01 UTC

Updating HttpRequest target host by HttpRequestInterceptor

Hi,

Our signing algorithm update HttpRequests by changing also the target
host of a request.

However, I was not able to update target host with
HttpRequestInterceptor, because
org.apache.http.impl.execchain.ProtocolExec#execute fetches computers
target host before any HttpRequestInterceptor instance is run.

How can I update request target host?

I'm using httpclient:4.5.2.

Regards,
Maciej

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org