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)

Production
enhancement
Not set
normal

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
Blocks: 1469733
See Also: 1469733
Also, stop asking to set both Accept and Content-Type HTTP headers. https://bmo.readthedocs.io/en/latest/api/core/v1/general.html
Attached file GitHub Pull Request
Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
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.

Attachment

General

Created:
Updated:
Size: