hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Davis (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCORE-224) Support the CONNECT method described in RFC 2616
Date Fri, 09 Apr 2010 03:43:50 GMT
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.1-beta1, 4.1-alpha1, 4.0.1, 4.0.2, 4.1, Future
         Environment: n/a
            Reporter: Brad Davis
            Priority: Minor

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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message