“CAUTION: provisional headers are shown” in Chrome debugger

前端 未结 30 3525
滥情空心
滥情空心 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:32

    I came across this and it went away when I switched from https to http. The SSL certs we use in dev aren't verified by a 3rd party. They're just locally generated dev certs.

    The same calls work just fine in Chrome Canary and Firefox. These browsers don't appear to be as strict about the SSL cert as Chrome is. The calls would fail in Chrome with the "CAUTION: Provisional headers..." message.

    I think/hope that when we use a legit SSL cert in stage and prod, we won't see this behavior in Chrome anymore.

提交回复
热议问题