Page MenuHomePhabricator

EPH Gadget: Add Accept: header to your HTML requests to RESTBase/Parsoid as per T124365
Closed, ResolvedPublic

Description

T124365#2062088 documents the decision of the ArchCom RFC on API content versioning. Accordingly, the Edit Protected Helper gadget should add an Accept: header with the current Parsoid HTML version to your API requests for Parsoid HTML.

Once T128040: Document and implement the REST API format versioning and negotiation policy is resolved, there will be on-wiki documentation about this.

Event Timeline

ssastry renamed this task from Add Accept: header to your HTML requests to RESTBase/Parsoid as per T124365 to EPH Gadget: Add Accept: header to your HTML requests to RESTBase/Parsoid as per T124365.Feb 26 2016, 11:37 PM
ssastry added a subscriber: Jackmcbarn.

If the gadget is not having issues tracked in Phabricator (no projects?), this request should be moved to the appropriate place.

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"'

@ssastry I think I fixed this with this edit. Let me know if there's anything else I have to do.