Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Hello
I have a use case, where i need to get a cookie received on a 'CONNECT' request.
In the method createTunnelToTarget of the class MainClientExec. Only interceptors on request can be used.
I wish to be able to process interceptors on the response.
Something like that :
package org.apache.http.impl.execchain; public class MainClientExec implements ClientExecChain { private boolean createTunnelToTarget( ... this.requestExecutor.preProcess(connect, this.proxyHttpProcessor, context); while (response == null) { ... } // The processing code of response interceptors this.requestExecutor.postProcess(response, this.proxyHttpProcessor, context); ... }