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
Hi, i need send JSON body via PATCH method with 'Content-Type': 'application/merge-patch+json' head but OhMyFetch always rewrite it to application/json.
I would suggest that if the user defines a "Accept" or "Content-type" header, OhMyFetch will not overwrite them.
The text was updated successfully, but these errors were encountered:
misaon
changed the title
Make Content-Type rewriting optional
Make Accept and Content-Type header rewriting optional
Dec 20, 2021
misaon
changed the title
Make Accept and Content-Type header rewriting optional
Disable Accept and Content-Type header rewriting if they are already defined
Dec 20, 2021
Hi, i need send JSON body via PATCH method with
'Content-Type': 'application/merge-patch+json'
head but OhMyFetch always rewrite it toapplication/json
.I would suggest that if the user defines a "Accept" or "Content-type" header, OhMyFetch will not overwrite them.
The text was updated successfully, but these errors were encountered: