You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Philippe Mouawad (JIRA)" <ji...@apache.org> on 2015/07/04 23:24:04 UTC

[jira] [Updated] (HTTPCLIENT-1665) Regression in org.apache.http.entity.mime.MultipartEntity

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

Philippe Mouawad updated HTTPCLIENT-1665:
-----------------------------------------
    Description: 
As per org.apache.http.entity.mime.MultipartEntity constructor documentation:
> @param charset the character set to use, may be {@code null}, in which case {@link MIME#DEFAULT_CHARSET} - i.e. US-ASCII - is used.


But it appears that in 4.5 version, if null is passed then no charset part is written.

The same issue exists for  FormBodyPart.


  was:
As per org.apache.http.entity.mime.MultipartEntity constructor documentation:
> @param charset the character set to use, may be {@code null}, in which case {@link MIME#DEFAULT_CHARSET} - i.e. US-ASCII - is used.


But it appears that in 4.5 version, if null is passed then no charset part is written.

The same issue exists for  StringEntity.



> Regression in org.apache.http.entity.mime.MultipartEntity
> ---------------------------------------------------------
>
>                 Key: HTTPCLIENT-1665
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1665
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpMime
>    Affects Versions: 4.5
>            Reporter: Philippe Mouawad
>              Labels: regression
>             Fix For: 4.5.1
>
>
> As per org.apache.http.entity.mime.MultipartEntity constructor documentation:
> > @param charset the character set to use, may be {@code null}, in which case {@link MIME#DEFAULT_CHARSET} - i.e. US-ASCII - is used.
> But it appears that in 4.5 version, if null is passed then no charset part is written.
> The same issue exists for  FormBodyPart.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org