[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to