[bwcompat] also set response headers in error cases
I had this sitting around in my local copy, I don't remember why I
needed this but it seems correct.
:mod:`pyramid_cubicweb`
=======================
.. automodule:: pyramid_cubicweb
.. autofunction:: make_cubicweb_application
.. autofunction:: wsgi_application_from_cwconfig
.. autofunction:: wsgi_application
.. toctree::
:maxdepth: 1
:glob:
api/*