jira-importer opened a new issue, #1279: URL: https://github.com/apache/httpcomponents-core/issues/1279
**[Brad Davis](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jherico)** opened **[HTTPCORE-224](https://issues.apache.org/jira/browse/HTTPCORE-224?redirect=false)** and commented 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 --- **Affects:** 4.0.1, 4.1-alpha1, 4.1-beta1, 4.1, Future -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
