api/server: fallback to application/json as best mimetype for content nego
Closed
requested to merge generated-differential-D1256-source into generated-differential-D1256-target
we almost never return text/plain or text/html, so json is a better default value.
Migrated from D1256 (view on Phabricator)
Merge request reports
Activity
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DCORE/job/tox/182/ See console output for more information: https://jenkins.softwareheritage.org/job/DCORE/job/tox/182/console
! In !46 (closed), @ardumont wrote: Shouldn't msgpack be preferred over json?
Not if you want to read the data from the cli for example (without the hassle of adding extra flags ;)
Is there really anything/anyone trying to read data from the backend RPC servers on the CLI?
Please register or sign in to reply