2

Chrome 更新已经发生,现在我无法通过 Chrome 浏览器调试我的 React Native 网络请求,因为它们被 CORB(而不是 CORS)阻止。

Cross-Origin Read Blocking (CORB) blocked cross-origin response https://example.com/my/url with MIME type application/json. See https://www.chromestatus.com/feature/5629709824032768 for more details.

请求标头

Accept: application/json, text/plain, */*
...

响应标头

Access-Control-Allow-Headers: authorization,x-goog-authuser
Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin: *
Allow: POST, GET, OPTIONS, PUT, DELETE
4

0 回答 0