What can cause a persistent “Reload the page to get source for” error in firebug?

前端 未结 10 2384
执笔经年
执笔经年 2020-12-16 11:23

I\'m trying to debug the javascript of a specific page, and I keep seeing

Reload the page to get source for page.htm in Firebug.

On Chrome, I\'m

10条回答
  •  误落风尘
    2020-12-16 12:11

    One other potential cause of the “Reload the page to get source for” message is the server returning an empty response. Check the response headers for Content-Length:0. If this isn't what you anticipated for the response, it is probably time to do some debugging on the server side of things. Note that empty responses do not always cause the "Reload the page to get source for" message -- however, I encountered at least one situation where this was the underlying problem.

提交回复
热议问题