Hi Oleg,

Got it. I had seen the ProxyClient case

Thank you.

Arturo Bernal
arturobern...@yahoo.com



> On 20 Mar 2021, at 10:24, Oleg Kalnichevski <ol...@apache.org> wrote:
> 
> On Fri, 2021-03-19 at 12:41 +0100, Arturo Bernal wrote:
>> Hi All,
>> 
>> I would like to add the Http "CONNECT” method (described in section
>> 4.3.6 https://tools.ietf.org/html/rfc7231#section-4.3.6) that would
>> easily created by HttpRequest (deprecated by active at the momment)
>> and ClassicRequestBuilder. I think i will need to make change in both
>> (core and client) module
>> 
>> The initiative is basically given to allow all the possible methods
>> described in “tools.ietf.org"
>> 
>> What do you think?
>> 
>> 
>> Arturo Bernal
>> arturobern...@yahoo.com
>> 
>> 
> 
> Hi Arturo
> 
> The CONNECT method is quite special and when executed as a normal
> request would end up corrupting the connection and polluting the
> connection pool. This is the reason why there is no special class
> representing the CONNECT method. There is ProxyClient for those special
> cases when one wants to establish a tunnel through an HTTP proxy.
> 
> Oleg 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
> For additional commands, e-mail: dev-h...@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to