Spotted while testing RESTBase with Parsoid/PHP. When replying to pagebundle requests, the HTML sub-section of the response body differs between JS and PHP:
'content-type': 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.1.0"', 'content-language': 'en', vary: 'Accept'
'content-type': 'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/2.1.0"'
It seems like this feature was left out during the port but RESTBase relies on these for language conversions and caching.
Additionally, while looking at the Parsoid code, I realised that [Parsoid/PHP forces content-language: en for all output](https://github.com/wikimedia/parsoid/blob/2035954f40a31c97a6a7051a6238113eb2b50976/extension/src/Rest/Handler/ParsoidHandler.php#L593-L595), but that shouldn't be the case (since not all content's language is en).