Use correct MIME type for JSON content

VERIFIED FIXED in 1.0

Status

Websites
markup.mozilla.org
--
trivial
VERIFIED FIXED
7 years ago
7 years ago

People

(Reporter: wenzel, Assigned: Adam Miller)

Tracking

unspecified

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
markup.requests.get_translated_marks sends a JSON response with MIME type application/javascript, which is not the right MIME type [1].

Please use application/json.

[1] http://stackoverflow.com/questions/477816/the-right-json-content-type
Assignee: nobody → adam
(Assignee)

Comment 1

7 years ago
https://github.com/mozilla/markup/commit/d59498339ea0680bdc416328cfd45894dc9c5e08
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Created attachment 529224 [details]
Post-fix screenshot
Verified FIXED on https://markup.allizom.org/fr/#/linear/8JcS?playback=true&be_grateful=true
Status: RESOLVED → VERIFIED
Target Milestone: --- → 1.0
You need to log in before you can comment on or make changes to this bug.