Failing to consume POST server side makes the app unable to receive the response #23862
Labels
Bug
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Platform: iOS
iOS applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
🐛 Bug Report
Horrible title, sorry 😬
When uploading a file using multipart form, if the server does not consume the stream, the client is unable to receive the error returned by the server
Note that in the provided reproduction, this happens on both android and ios. On my real project, it only happens on ios, and android works correctly. I'm not sure what the differences between my real project and this reproduction is...
The reproduction is quite big (apollo server, expo etc), but I think it's still small enough to be useful
(I was told to open up this issue, sorry I wasn't able to reduce it further down.)
To Reproduce
See reproduction repo: https://github.com/SimenB/rn-response
Expected Behavior
The error should propagate properly regardless if the stream ins consumed on the server or not
Code Example
https://github.com/SimenB/rn-response
Environment
The text was updated successfully, but these errors were encountered: