Mathoid responses contain the Content-Type header, but it doesn't have a versioned profile portion, e.g.:
content-type: image/svg+xml
Having a versioned profile would allow us to do automatic content upgrades and inform users better on what to expect to be present in the response, in same fashion as other end points already do:
content-type: text/html; charset=utf-8; profile="https://www.mediawiki.org/wiki/Specs/HTML/1.5.0"
In order to complete this task we need to:
- Add profile to Mathoid's responses
- Document the formats on wiki
- Have RESTBase serve them and perform automatic upgrades when needed