[
https://issues.apache.org/jira/browse/HTTPCORE-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCORE-224.
----------------------------------------
Fix Version/s: 4.1
Resolution: Fixed
Fixed in SVN trunk
Oleg
> Support the CONNECT method described in RFC 2616
> ------------------------------------------------
>
> Key: HTTPCORE-224
> URL: https://issues.apache.org/jira/browse/HTTPCORE-224
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Components: HttpCore
> Affects Versions: 4.0.1, 4.0.2, 4.1-alpha1, 4.1-beta1, 4.1, Future
> Environment: n/a
> Reporter: Brad Davis
> Priority: Minor
> Fix For: 4.1
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> I'm writing a simple HTTP proxy into an implementation of the TOR protocol,
> using HTTP Components to parse and write requests. However, SSL over HTTP
> proxy requires the CONNECT verb. When encountering the CONNECT verb the
> DefaultHttpRequestFactory provided by HC will throw an exception, even though
> for the purposes of my app, all it has to do is parse the request. I don't
> see any reason code that is parsing an incoming http request should throw an
> exception on a well defined HTTP method even if no other part of HC is
> designed to support it, its needless early failure. A fix could easily be
> applied by adding "CONNECT" to the list of strings defined in
> DefaultHttpRequestFactory.RFC2616_SPECIAL_METHODS
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]