[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.
Author:
Christophe de Vienne
Copyright:
© 2014 Unlish
This package is distributed under the terms of the GNU Lesser General Public
License, version 2.1. On Debian systems, the complete text of the GNU Lesser
General Public License may be found in '/usr/share/common-licenses/LGPL-2.1'.