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
I am trying to submit binary data in a graphql request using a multipart/form-data request type. I am setting the request Content-Type header in a HTTPRequestOption function. However, this header value is being overwritten in Client.Post as it sets the Content-Type to application/json; charset=utf-8. The header should only be set if it has not already been set.
The text was updated successfully, but these errors were encountered:
I am trying to submit binary data in a graphql request using a
multipart/form-data
request type. I am setting the requestContent-Type
header in aHTTPRequestOption
function. However, this header value is being overwritten inClient.Post
as it sets theContent-Type
toapplication/json; charset=utf-8
. The header should only be set if it has not already been set.The text was updated successfully, but these errors were encountered: