[
https://issues.apache.org/jira/browse/HTTPCLIENT-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876235#action_12876235
]
Oleg Kalnichevski commented on HTTPCLIENT-950:
----------------------------------------------
I see no problem in changing the logic of BROWSER_COMPATIBLE mode. I just want
to be reasonably sure that the logic used by newer browsers is adequately
understood and documented.
Oleg
> HttpMultipartMode.BROWSER_COMPATIBLE -- for files doesn't send Content-Type
> ------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-950
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-950
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.0.1
> Reporter: Doua Beri
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When you want to send files using HttpMultipartMode.BROWSER_COMPATIBLE it
> seems that the Content-Type is ignored. It seems that the browsers( tested
> with firefox and Internet explorer) are sending the content-type header only
> for files.
> It seems that some sites are sensitive about this issue and they choose the
> content-type for a file as a text/plain in case I don't specify one.
--
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]