[ 
https://issues.apache.org/jira/browse/AXIS2C-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Senaka Fernando updated AXIS2C-828:
-----------------------------------

    Attachment: diff.txt

Refer diff.txt for proposed patch.

The Reason for this bug was, that, we did not read the response headers and set 
the appropriate content type and the content length properties into the message 
context. I added support for reading headers in curl and appropriately setting 
required properties into  the message context.

I also added,
(1) Support for identifying the http response's status code and setting it into 
the message context.
(2) A separate stream for headers so that errors in headers will not affect the 
data stream.

Regards,
Senaka

> MTOM Sample failed with Libcurl (HTTP) transport
> ------------------------------------------------
>
>                 Key: AXIS2C-828
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-828
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0, Current (Nightly)
>            Reporter: Dinesh Premalal
>            Assignee: Dinesh Premalal
>         Attachments: diff.txt
>
>
> MTOM sample failed with libcurl transport. I can see attachment in both 
> request and response messages.

-- 
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