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