You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would be the best way to check the status code before streaming and getting a handle on the connection to parse the body in case where status code is not 200 ?
The text was updated successfully, but these errors were encountered:
You should now be able to accomplish this with v0.13.0. An error of UnexpectedResponse will now include both a Response object include the status and header information, along with an ErrorBody type, which you can use to retrieve the body of the error.
What would be the best way to check the status code before streaming and getting a handle on the connection to parse the body in case where status code is not 200 ?
The text was updated successfully, but these errors were encountered: