The scenario is different, with http you have the proxy and taget request being
the same, with connect proxies they are separate requests.
In both cases however you would not set the header yourself but use the
appropriate authentication method on the proxy scope of the credential
provider
Does HttpClient not send the "Proxy-Authorization" header along with
CONNECT request when we access the *HTTPS *url?
As I mentioned earlier,I tried *same *scenario to access the *HTTP *request
everything works fine.
http://hc.apache.org/httpcomponents-client-4.5.x/examples.html
Thanks,
On Mon, 2019-07-15 at 15:02 +0530, Kaushal Kothari wrote:
> Just for clarification,I want to access the HTTPS url via proxy
> server and proxy server has the basic authentication set.
>
> In order to authenticate,"Proxy-Authorization Basic "
> header should be sent along with CONNECT request but
Just for clarification,I want to access the HTTPS url via proxy server and
proxy server has the basic authentication set.
In order to authenticate,"Proxy-Authorization Basic " header
should be sent along with CONNECT request but which is missing.
you might have seen in last mail attached
The Apache HttpComponents project is pleased to announce 5.0-beta8 (GA
candidate) release of HttpComponents Core.
This BETA fixes a number of defects found since the last release and
adds several convenience factory and builder classes, mainly for TLS
configuration and HTTP message construction.