Commit dbed840
authored
Update Fetch.js
#369
Resolution to the above issue, the RN code passes two instances of Content-Type, one containing capital letters and the other in lower case.
The Android native code saves those options after applying .toLowerCase() on them.
The data in the lower case content-type overwrote the data in the Content-Type, and since the data on both the keys wasn't updated together at the fixed part of the code, it overwrote it with invalid data and caused the request to fail.1 parent d8c79f6 commit dbed840
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments