0.54's fetch doesn't bring us html .text() #18635
Labels
Impact: Regression
Describes a behavior that used to work on a prior release, but stopped working recently.
🌐Networking
Related to a networking API.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Environment
Environment:
OS: macOS High Sierra 10.13.3
Node: 6.11.4
Yarn: Not Found
npm: 3.10.10
Watchman: 4.7.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: ^16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: ^0.54.4 => 0.54.4
Steps to Reproduce
in this case, if it's not json but a plain html fetch, those text will be
undefined
.In res, there is no
_bodyText
, it only has_bodyInit
and_bodyBlob
, which is understandable considering 0.54's change around fetch/Blob, but fetch's .text() doesn't seem to be working like previous versions.Not sure whether this is related to #18547 or #18500
Expected Behavior
text
should be populated with the HTML text.Actual Behavior
undefined
0.53.3 is working like expected.
The text was updated successfully, but these errors were encountered: