passing the request headers to the response redirect for DELETE, PUT, and POST