“CAUTION: provisional headers are shown” in Chrome debugger

前端 未结 30 3364
滥情空心
滥情空心 2020-11-22 11:52

I noticed a strange caution message when looking at downloaded resources using Google chrome inspector (F12):

Caution provisional headers a

30条回答
  •  误落风尘
    2020-11-22 12:19

    This caution message also occurs if the response is invalid and therefore dropped by the browser.

    In my case the request was correctly sent to the server, the server-side code then produced an error and my custom error handling returned the error message in the HTTP status message field. But this error was not received on the client side, due to invalid characters in the error message (described here http://aspnetwebstack.codeplex.com/workitem/1386) which resulted in corrupt response headers.

提交回复
热议问题