开发者

Accessing custom HTTP Response Header via C#

开发者 https://www.devze.com 2023-03-02 04:09 出处:网络
I\'ve created an HTTP Response Header in IIS 7. I can see it in Fiddler but I can\'t get its value in C#.

I've created an HTTP Response Header in IIS 7. I can see it in Fiddler but I can't get its value in C#. Response.Headers.ToString() doesn't show the custom HTTP Response Headers.

How 开发者_Go百科can I access its value?

Thanks in advance


If it is IIS that is adding this response header you might not be able to read it in your application as this header might be added much later in the execution pipeline when the ASP.NET application has finished serving the request.

0

精彩评论

暂无评论...
验证码 换一张
取 消