Keep response headers in exception