Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1665

Regression in org.apache.http.entity.mime.MultipartEntity and org.apache.http.entity.mime.content.StringBody

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmouawad Philippe Mouawad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: