You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Nandika Jayawardana (JIRA)" <ji...@apache.org> on 2008/08/07 07:07:44 UTC

[jira] Created: (AXIS2C-1252) Axis2 Client sends malformed http requests for REST GET requests with empty payloads

Axis2 Client sends malformed http requests for REST GET requests with empty payloads
------------------------------------------------------------------------------------

                 Key: AXIS2C-1252
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1252
             Project: Axis2-C
          Issue Type: Bug
         Environment: Any
            Reporter: Nandika Jayawardana
            Assignee: Nandika Jayawardana
             Fix For: Current (Nightly)


When an empty payload is specifed for a REST GET request to echo service, following http request is sent which is wrong.

GET /http://localhost/axis2/services/echo/echoString HTTP/1.1
User-Agent: Axis2C/1.5.0
Host: 127.0.0.1:9090




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


[jira] Resolved: (AXIS2C-1252) Axis2 Client sends malformed http requests for REST GET requests with empty payloads

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

Nandika Jayawardana resolved AXIS2C-1252.
-----------------------------------------

    Resolution: Fixed

This was due to following line in http_sender.c in line 560.

 path =axutil_url_to_external_form(url, env);

This should be path =   axutil_url_get_path(url, env);

Corrected the code in http_sender.c

> Axis2 Client sends malformed http requests for REST GET requests with empty payloads
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1252
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1252
>             Project: Axis2-C
>          Issue Type: Bug
>         Environment: Any
>            Reporter: Nandika Jayawardana
>            Assignee: Nandika Jayawardana
>             Fix For: Current (Nightly)
>
>
> When an empty payload is specifed for a REST GET request to echo service, following http request is sent which is wrong.
> GET /http://localhost/axis2/services/echo/echoString HTTP/1.1
> User-Agent: Axis2C/1.5.0
> Host: 127.0.0.1:9090

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