-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Description
I wrote some code to do a request and was surprised when the body was empty. After some digging I found that the code that actually does an HTTP request never checks the status code, so if the upstream server returns a 500 (or whatever) all you get is an empty response. I would be happy to submit a PR that surfaces an error when the status is >= 400.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels