Closed Bug 647360 Opened 13 years ago Closed 13 years ago

Use correct MIME type for JSON content

Categories

(Websites Graveyard :: markup.mozilla.org, defect)

defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: adam)

Details

Attachments

(1 file)

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
https://github.com/mozilla/markup/commit/d59498339ea0680bdc416328cfd45894dc9c5e08
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified FIXED on https://markup.allizom.org/fr/#/linear/8JcS?playback=true&be_grateful=true
Status: RESOLVED → VERIFIED
Target Milestone: --- → 1.0
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: