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


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

Reply via email to