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
Would it make sense to have an .auto() parser that deals with the content type automatically? JSON, FormData, Blob, etc. I think that's what Axios does for example (but it returns unknown as a type)
The text was updated successfully, but these errors were encountered:
I don't know if it would bring substantial code improvements over the above code, but it would avoid having to figure out the various Content-Type strings
I'm manually doing content detection:
Would it make sense to have an
.auto()
parser that deals with the content type automatically? JSON, FormData, Blob, etc. I think that's what Axios does for example (but it returnsunknown
as a type)The text was updated successfully, but these errors were encountered: