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

Reply via email to