首页 > 其他 > 详细

Why does Http header contains "X-SourceFiles"?

时间:2014-09-03 12:58:36      阅读:531      评论:0      收藏:0      [点我收藏+]

Question:

Using a FileStreamResult in ASP.NET MVC 3, I get a response header like

X-SourceFiles =?UTF-8?B?RDpcUHJvamVjdFxqYWNvYlx0ZXN0?=

 

Answer:
The header is understood by certain debugging modules in IIS / IIS Express. It contains the base64-encoded path to the source file on disk and is used to link a page‘s generated output back to that source file. It‘s only generated for localhost requests, so you don‘t need to worry about it being displayed to the world when you deploy the application to an actual server.

Why does Http header contains "X-SourceFiles"?

原文:http://www.cnblogs.com/xixifusigao/p/3953279.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!