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
{{ message }}
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
Currently, processResponse supports only JSON or text as response object.
The fallback is a text object.
In few cases you would like to get a Blob or arrayBuffer.
Describe the solution you'd like
If the content-type is "application/json" or "text/plain" behavior will not change.
All other cases will return whole response object.
Check the PR: #262
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
cbek
added a commit
to cbek/restful-react
that referenced
this issue
Apr 20, 2020
Is your feature request related to a problem? Please describe.
Currently, processResponse supports only JSON or text as response object.
The fallback is a text object.
In few cases you would like to get a Blob or arrayBuffer.
Describe the solution you'd like
If the content-type is "application/json" or "text/plain" behavior will not change.
All other cases will return whole response object.
Check the PR:
#262
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: