You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Alexey Ragozin (JIRA)" <ji...@apache.org> on 2008/07/08 13:46:33 UTC

[jira] Created: (HTTPCLIENT-784) Multipart post is broken

Multipart post is broken
------------------------

                 Key: HTTPCLIENT-784
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-784
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpMime
    Affects Versions: 4.0 Alpha 5 
            Reporter: Alexey Ragozin


I tried to do HttpPost request with MultipartEntity, this request was encoded to wire with 3 line separators after header and not processed correctly by http server.
MultipartEntry add 1 extra line separator before write itself to wire. I'm not sure about standards, but it is at least not "browser compatible".



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


[jira] Updated: (HTTPCLIENT-784) Multipart post is broken

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

Alexey Ragozin updated HTTPCLIENT-784:
--------------------------------------

    Attachment: httpclient-request.bin
                browser-request.bin

Request from Firefox 3, and similar request from HttpClient

> Multipart post is broken
> ------------------------
>
>                 Key: HTTPCLIENT-784
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-784
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpMime
>    Affects Versions: 4.0 Alpha 5 
>            Reporter: Alexey Ragozin
>         Attachments: browser-request.bin, httpclient-request.bin
>
>
> I tried to do HttpPost request with MultipartEntity, this request was encoded to wire with 3 line separators after header and not processed correctly by http server.
> MultipartEntry add 1 extra line separator before write itself to wire. I'm not sure about standards, but it is at least not "browser compatible".

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


[jira] Commented: (HTTPCLIENT-784) Multipart post is broken

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCLIENT-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611566#action_12611566 ] 

Oleg Kalnichevski commented on HTTPCLIENT-784:
----------------------------------------------

Alexey,

Please produce a wirelog of the HTTP packet(s) generated by HttpClient and a Wireshark packet dump of HTTP packet(s) generated by  the browser.

Oleg

> Multipart post is broken
> ------------------------
>
>                 Key: HTTPCLIENT-784
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-784
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpMime
>    Affects Versions: 4.0 Alpha 5 
>            Reporter: Alexey Ragozin
>
> I tried to do HttpPost request with MultipartEntity, this request was encoded to wire with 3 line separators after header and not processed correctly by http server.
> MultipartEntry add 1 extra line separator before write itself to wire. I'm not sure about standards, but it is at least not "browser compatible".

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


[jira] Resolved: (HTTPCLIENT-784) Multipart post is broken

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

Oleg Kalnichevski resolved HTTPCLIENT-784.
------------------------------------------

    Resolution: Fixed

Fixed in SVN trunk.

Oleg

> Multipart post is broken
> ------------------------
>
>                 Key: HTTPCLIENT-784
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-784
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpMime
>    Affects Versions: 4.0 Alpha 5 
>            Reporter: Alexey Ragozin
>             Fix For: 4.0 Beta 1
>
>         Attachments: browser-request.bin, httpclient-request.bin
>
>
> I tried to do HttpPost request with MultipartEntity, this request was encoded to wire with 3 line separators after header and not processed correctly by http server.
> MultipartEntry add 1 extra line separator before write itself to wire. I'm not sure about standards, but it is at least not "browser compatible".

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


[jira] Updated: (HTTPCLIENT-784) Multipart post is broken

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

Oleg Kalnichevski updated HTTPCLIENT-784:
-----------------------------------------

    Fix Version/s: 4.0 Beta 1

> Multipart post is broken
> ------------------------
>
>                 Key: HTTPCLIENT-784
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-784
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpMime
>    Affects Versions: 4.0 Alpha 5 
>            Reporter: Alexey Ragozin
>             Fix For: 4.0 Beta 1
>
>         Attachments: browser-request.bin, httpclient-request.bin
>
>
> I tried to do HttpPost request with MultipartEntity, this request was encoded to wire with 3 line separators after header and not processed correctly by http server.
> MultipartEntry add 1 extra line separator before write itself to wire. I'm not sure about standards, but it is at least not "browser compatible".

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