Set response headers while redirecting a request