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

Allow MultipartEntityBuilder to create "multipart/mixed" entity

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.3
    • 4.4 Alpha1
    • HttpClient (classic)
    • None

    Description

      The MultipartEntityBuilder does not allow to set the subType and the generated Content-Type.

      Part1:

      public MultipartEntityBuilderFixed setType(final String subType)

      { this.subType = subType; return this; }

      Part2:

      private String generateContentType(final String boundary, final Charset charset)

      { ... buffer.append("multipart/" + this.subType + "; boundary="); ... }

      Attachments

        Activity

          People

            Unassigned Unassigned
            Rainer Schnitker Rainer Schnitker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: