You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Robbert-Jan Roos (JIRA)" <ji...@apache.org> on 2007/08/13 17:03:31 UTC

[jira] Created: (HTTPCLIENT-684) HttpClient.executeMethod(hostConfig, getMethod) does not use custom Protocols when the GetMethod contains an absolute uri.

 HttpClient.executeMethod(hostConfig, getMethod) does not use custom Protocols when the GetMethod contains an absolute uri.
---------------------------------------------------------------------------------------------------------------------------

                 Key: HTTPCLIENT-684
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-684
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 3.1 RC1, 3.0.1
         Environment: linux
            Reporter: Robbert-Jan Roos
            Priority: Minor


For SSL based connections I'm trying to use a ProtocolSocketFactory on 1
connection using a custom Protocol registration on the HostConfiguration object.

Unfortunately the GetMethod contains an absolute uri, which makes executeMethod
ignore my HostConfiguration (httpclient-3.1-rc1, line 388 removes the Protocol
declaration) This is also the case in 3.0.1.

See also the junit test with this issue.


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


[jira] Updated: (HTTPCLIENT-684) HttpClient.executeMethod(hostConfig, getMethod) does not use custom Protocols when the GetMethod contains an absolute uri.

Posted by "Robbert-Jan Roos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbert-Jan Roos updated HTTPCLIENT-684:
----------------------------------------

    Attachment: HttpClientHostConfigurationTest.java

Junit test demonstrating the problem.

>  HttpClient.executeMethod(hostConfig, getMethod) does not use custom Protocols when the GetMethod contains an absolute uri.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-684
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-684
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.0.1, 3.1 RC1
>         Environment: linux
>            Reporter: Robbert-Jan Roos
>            Priority: Minor
>         Attachments: HttpClientHostConfigurationTest.java
>
>
> For SSL based connections I'm trying to use a ProtocolSocketFactory on 1
> connection using a custom Protocol registration on the HostConfiguration object.
> Unfortunately the GetMethod contains an absolute uri, which makes executeMethod
> ignore my HostConfiguration (httpclient-3.1-rc1, line 388 removes the Protocol
> declaration) This is also the case in 3.0.1.
> See also the junit test with this issue.

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


[jira] Resolved: (HTTPCLIENT-684) HttpClient.executeMethod(hostConfig, getMethod) does not use custom Protocols when the GetMethod contains an absolute uri.

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-684.
------------------------------------------

    Resolution: Won't Fix

This is getting truly depressing. Second report on the same day. 

Folks, this is the _intended_ behavior. Please see the archives for _numerous_ discussions on the subject. For a workaround please see HTTPCLIENT-634

Oleg

>  HttpClient.executeMethod(hostConfig, getMethod) does not use custom Protocols when the GetMethod contains an absolute uri.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-684
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-684
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.0.1, 3.1 RC1
>         Environment: linux
>            Reporter: Robbert-Jan Roos
>            Priority: Minor
>         Attachments: HttpClientHostConfigurationTest.java
>
>
> For SSL based connections I'm trying to use a ProtocolSocketFactory on 1
> connection using a custom Protocol registration on the HostConfiguration object.
> Unfortunately the GetMethod contains an absolute uri, which makes executeMethod
> ignore my HostConfiguration (httpclient-3.1-rc1, line 388 removes the Protocol
> declaration) This is also the case in 3.0.1.
> See also the junit test with this issue.

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