T124365#2062088 documents the decision of the ArchCom RFC on API content versioning. Accordingly, OCG should add an Accept: header with the current Parsoid HTML version to your API requests for Parsoid HTML.
Related Gerrit Patches:
|mediawiki/extensions/Collection/OfflineContentGenerator/bundler : master||Send Accept header to Parsoid/RESTBase to get data-mw attributes inline.|
|· · ·|
|Resolved||• GWicke||T128231 All known clients of Parsoid HTML (either directly hitting Parsoid or via RESTBase) should provide Accept: headers in their requests|
|Resolved||cscott||T130685 OCG: Add Accept: header to your HTML requests to RESTBase/Parsoid as per T124365|
|· · ·|
With the next version bump to 1.2.1, we took the opportunity to update the profile header to a valid url with documentation. Please use this instead if you haven't yet implemented this.
'text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.2.1"'