This repository has been archived by the owner on Nov 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
processResponse support blob & Co #261
Comments
cbek
added a commit
to cbek/restful-react
that referenced
this issue
Apr 20, 2020
- if the content-type is "application/json" or "text/plain" behavior will not change. - all other cases will return whole response object.
cbek
added a commit
to cbek/restful-react
that referenced
this issue
Apr 21, 2020
- if the content-type is "application/json" or "text/plain" behavior will not change. - all other cases will return whole response object.
fabien0102
pushed a commit
that referenced
this issue
May 4, 2020
- if the content-type is "application/json" or "text/plain" behavior will not change. - all other cases will return whole response object.
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
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: