问题
Basically I'm writing some code which does an internal webclient request, gets all the headers and then I want to add those headers to a Redirect()
call via a controller.
Is there any way to do that?
回答1:
Unfortunately it's not possible for security reasons as specified above.
来源:https://stackoverflow.com/questions/16003628/how-to-add-headers-on-a-302-redirect-in-asp-net-mvc