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

怎甘沉沦 提交于 2019-12-24 04:28:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!