Fixing header decoration for "error" responses