Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5787

HttpClient does not support charset name with quotation mark around

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      In RFC2045 (Section 5.1) there is:
      "Content-type: text/plain; charset=us-ascii (Plain text)
      Content-type: text/plain; charset="us-ascii"
      are completely equivalent".

      In current revision, if the 'Content-Type' of http response includes the quotation mark around the charset name, HttpClient throws out unsupported encoding exception.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            utcb Leon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment