Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the X-SourceFiles header do?

Tags:

asp.net-mvc

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.