No longer able to preview network response bodies after update to 0.6.0
See original GitHub issueAfter the recent update to v0.6.0 I can no longer see the preview or raw response body for network responses in the network tab. I can still see all of the request and response headers being logged, but as far as response bodies go, I just see the message, ‘This request has no preview available.’ in both the ‘Preview’ and ‘Response’ tabs.
I have confirmed that, by re-installing v0.5.6, I can once again see the response bodies. If it is of any help, I am using the snippet from the documentation to enable network logging, namely:
global.XMLHttpRequest = global.originalXMLHttpRequest ? global.originalXMLHttpRequest : global.XMLHttpRequest; global.FormData = global.originalFormData ? global.originalFormData : global.FormData;
That aside, this tool is great. Thanks for making it 👍
React Native version: 0.41.2 Platform: iOS Is real device of platform: No Operating System: macOSX
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (3 by maintainers)
Top GitHub Comments
It seems like related to Blob, the network inspect works fine when I remove
blob
response type, this problem seems to start with some Chrome version (v0.6.0 have updated Chrome version).I think we can just delete
window.Blob
in debugger worker because currently react-native is not supported it, I’ll do this.Noticing same issue myself outlined by darkbasic. Turning off network debugging allows the apollo tab to work.
After a bit more tinkering, looks like toggling on
Disable cache
in the network tab fixes it