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

Please add org.apache.http.client.fluent.Content.asString(Charset)

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.3
    • 4.4 Alpha1
    • Fluent HC
    • None

    Description

      The content from a request can be returned as a String but that uses the Encoding as specified in the content type. Sometimes (if it is not given or even wrong) you want to be able to override it. But currently you cannot create a String with a desired encoding that is backed by the byte[] that is already there.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkemnade Jochen Kemnade
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: