Skip to content

[views] Add missing JSON Content-Type

(LaurentP talking) This started as a fix to https://forge.extranet.logilab.fr/cubicweb/cubicweb/-/issues/307 and ended up being a more broader fix that now translate CW RemoteCalledError to pyramid errors with the right content type and correctly returns them as application/json instead of text/html.

Result of today hackaton.

For reference here are:

Edited by Laurent Peuch

Merge request reports