hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-284) Add setRequestLine method to HttpRequest
Date Sun, 04 Dec 2011 15:57:39 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162412#comment-13162412
] 

Oleg Kalnichevski commented on HTTPCORE-284:
--------------------------------------------

Sure, this can be done. 

One a general note, though, one actually _should_ create a completely new request object in
a proxy scenario, not only to ensure hop-by-hop headers do not get passed to the next hop,
but also to have the original, unmodified request when deciding whether or not the incoming
connection can be kept alive.

Oleg      
                
> Add setRequestLine method to HttpRequest
> ----------------------------------------
>
>                 Key: HTTPCORE-284
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-284
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore
>            Reporter: William R. Speirs
>            Priority: Minor
>             Fix For: Future
>
>         Attachments: HTTPCORE-284.diff
>
>
> The HttpRequest interface has a getRequestLine method, but not a setRequestLine method.
Not having this method makes it very difficult for programs like proxies to modify URIs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message