码迷,mamicode.com
首页 > 其他好文 > 详细

Why does Http header contains "X-SourceFiles"?

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

标签:http   os   io   for   sp   on   c   ad   ef   

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   os   io   for   sp   on   c   ad   ef   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!