When there are pending updates, MediaWiki::outputResponsePayload() sets a Content-Encoding: none header (added in 4f11b614).
However, "none" is not a valid Content-Encoding value. The proper value for a non-compressed output is "identity"
When there are pending updates, MediaWiki::outputResponsePayload() sets a Content-Encoding: none header (added in 4f11b614).
However, "none" is not a valid Content-Encoding value. The proper value for a non-compressed output is "identity"
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | tstarling | T269516 Content-Encoding set to none/identity after upgrade to 1.35 | |||
| Resolved | aaron | T235554 MediaWiki::outputResponsePayload seemingly causes net::ERR_HTTP2_PROTOCOL_ERROR 200 and compression issues in 1.35 | |||
| Open | BUG REPORT | None | T273643 "Content-Encoding" header set to "identity" breaks the URL Rewrite Module on Microsoft IIS | ||
| Resolved | Platonides | T258877 MediaWiki sets invalid Content-Encoding: none |
The content encoding of 'identity', was added in rfc2616 with a note that it "SHOULD NOT be used in the Content-Encoding header". The transfer coding identity was removed by rfc7230. rfc7231 uses "identity" as a special value in the context of Accept-Encoding, not of Content-Encoding. Anyway, the semantics of a Content-encoding: identity are completely clear and supported even if it may make for a redundant header.
Change 616313 had a related patch set uploaded (by Nikerabbit; owner: Platonides):
[mediawiki/core@master] Change invalid 'Content-Encoding: none' header
Change 616313 merged by jenkins-bot:
[mediawiki/core@master] Change invalid 'Content-Encoding: none' header
Change 641776 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Platonides):
[mediawiki/core@REL1_35] Change invalid 'Content-Encoding: none' header
Change 641776 merged by jenkins-bot:
[mediawiki/core@REL1_35] Change invalid 'Content-Encoding: none' header