On Mon, 2017-04-24 at 15:07 -0700, Gary Gregory wrote: > Hi, > > I noticed a couple of "CONNECT" strings hard coded here and there and > wondered why we do not have an HttpConnect class (with a METHOD_NAME > static) like we have HttpGet, and so on. > > Gary >
CONNECT is a special purpose method that is unlikely to be applicable to common scenarios. It is being used internally by HttpClient to establish multi-hop routes via a proxy or a chain of proxies. I see no good reason to have HttpConnect given it can be easily misused. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
