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

HttpClient does not support charset name with quotation mark around

    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

        1. OFBIZ-5787.patch
          0.7 kB
          Leon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: