[views] Respond with 400 Bad Request in case of validation error in ajax request
Previously, we raised a plain RemoteCallFailed without a status code, in which
case it defaults to "500 Internal Server Error". Now, for validation
errors, we issue a 400 Bad Request since these are clearly client errors.
.. -*- coding: utf-8 -*-
Writing text reports with RestructuredText
==========================================
|cubicweb| offers several text formats for the RichString type used in schemas,
including restructuredtext.
Three additional restructuredtext roles are defined by |cubicweb|:
.. autofunction:: cubicweb.ext.rest.eid_reference_role
.. autofunction:: cubicweb.ext.rest.rql_role
.. autofunction:: cubicweb.ext.rest.bookmark_role