Closed
Bug 527782
Opened 15 years ago
Closed 15 years ago
serve JSON as application/json on getpersonas.com
Categories
(mozilla.org Graveyard :: Server Operations, task)
mozilla.org Graveyard
Server Operations
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: myk, Assigned: fox2mike)
References
Details
Currently, JSON (f.e. <https://www.getpersonas.com/static/3/3/33/index_1.json>) is served from getpersonas.com as text/plain. According to RFC 4627 <http://www.ietf.org/rfc/rfc4627.txt>, the media type for JSON is application/json. getpersonas.com should serve its JSON as that media type, so extensions like JSONView <http://brh.numbera.com/software/jsonview/> can pretty-print it.
Updated•15 years ago
|
Target Milestone: --- → 2.0
Comment 1•15 years ago
|
||
Moving over to IT, they can setup apache to serve .json files with the appropriate content type.
Assignee: nobody → server-ops
Component: getpersonas.com → Server Operations
Product: Websites → mozilla.org
QA Contact: getpersonas-com → mrz
Target Milestone: 2.0 → ---
Version: unspecified → other
Assignee | ||
Comment 2•15 years ago
|
||
We can make this change along with tomorrow's push.
Assignee: server-ops → shyam
Blocks: 527792
Reporter | ||
Comment 3•15 years ago
|
||
Would it be possible to make this change on sm-personas01.mozilla.org in advance of the push? I don't expect it to cause any problems, but it would be useful to be able to verify that on the staging server beforehand.
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3) > Would it be possible to make this change on sm-personas01.mozilla.org in > advance of the push? I don't expect it to cause any problems, but it would be > useful to be able to verify that on the staging server beforehand. Added. Let me know if it looks fine/you're seeing the right type.
Reporter | ||
Comment 5•15 years ago
|
||
(In reply to comment #4) > Added. Let me know if it looks fine/you're seeing the right type. Thanks! I've done various tests today, and not only do I see the right type, but the extension appears to handle JSON served as that type just fine.
Assignee | ||
Comment 6•15 years ago
|
||
Pushed this change to production.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Summary: serve JSON as application/json → serve JSON as application/json on getpersonas.com
Comment 7•15 years ago
|
||
Verified FIXED: http://web-sniffer.net/?url=https%3A%2F%2Fwww.getpersonas.com%2Fstatic%2F3%2F3%2F33%2Findex_1.json&submit=Submit&http=1.1&gzip=yes&type=GET&uak=0 Content-Type: application/json
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•