Overview
| Artifact ID: | 987dd03450a0a27ee68a3ed06bcbc69f1e04be9e8b71165cd433a31b51afcf94 |
|---|---|
| Ticket: | 8eb64b15208f62088e6cd120795e13b32020aeaa
http: invalid reply header "content-encoding: UTF-8" gives error, but may be tolerated |
| User & Date: | oehhar on 2021-12-03 11:07:01 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
The return header "Content-encoding" is now supported, and may officially have the following values: <verbatim> Content-Encoding: gzip | compress | deflate | br| identity </verbatim> I have a server (SAP Production) where I do a post-call with JSON data. The response has: <verbatim> Content-Encoding: UTF-8 </verbatim> Currently, http package 2.9.5 fails with the correct error: <verbatim> unsupported content-encoding "UTF-8" </verbatim> and writes the Log: <verbatim> error doing decompression for token ::http::1: unsupported content-encoding "UTF-8" </verbatim> Would it be a good idea here to be more tolerant, and fall back to identity ? Apparently, others just ignore this... Thanks for any opinion, Harald
- foundin changed to: "2.9.5"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "29. http Package"
- title changed to:
http: invalid reply header "content-encoding: UTF-8" gives error, but may be tolerated
- type changed to: "RFE"