How to add headers on a 302 redirect in asp.net mv

2019-07-11 19:27发布

问题:

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.