Closed
Bug 1503705
Opened 7 years ago
Closed 7 years ago
Stop serving HTML-prettyprinted JSON as REST API results
Categories
(bugzilla.mozilla.org :: API, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kohei, Assigned: kohei)
References
Details
Attachments
(1 file)
I’ve just realized that REST API results is no longer scrollable in the browser, which has been regressed by my Bug 1469733. It’s easy to fix it, but I think it’s time to stop generating HTML-prettyprinted results and instead serve JSON as-is, because Firefox can prettyprint JSON.
e.g. https://bugzilla.mozilla.org/rest/bug/1469733
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 1•7 years ago
|
||
Also, stop asking to set both Accept and Content-Type HTTP headers.
https://bmo.readthedocs.io/en/latest/api/core/v1/general.html
Assignee | ||
Comment 2•7 years ago
|
||
Assignee: nobody → kohei.yoshino
Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Comment 3•7 years ago
|
||
Merged to master.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•