开发者

Accessing custom HTTP Response Header via 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜