You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2010/09/13 20:57:36 UTC
[jira] Resolved: (HTTPCLIENT-960) HttpMultipart doesn't generate
Content-Type part header in mode BROWSER_COMPATIBLE
[ https://issues.apache.org/jira/browse/HTTPCLIENT-960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-960.
------------------------------------------
Resolution: Fixed
Fixed in SVN trunk. Please review / test.
Oleg
> HttpMultipart doesn't generate Content-Type part header in mode BROWSER_COMPATIBLE
> ----------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-960
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-960
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.0.1
> Reporter: Marc Guillemot
> Fix For: 4.1 Alpha3
>
>
> Browsers (tested with Firefox 3.6 and IE6) send a Content-Type header for file parts, what org.apache.http.entity.mime.HttpMultipart doesn't do in BROWSER_COMPATIBLE mode.
> Example:
> -----------------------------142889018617181602061216500409
> Content-Disposition: form-data; name="myFileFieldName2"; filename="webtest.png"
> Content-Type: image/png
> In HtmlUnit we wil subclass HttpEntity and MultipartEntity to fix this problem.
--
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