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 get "Error: Missing Content-Type" when I tried upload file. I send event.headers['Content-Type'] and it throw error, but if I send event.headers['content-type'] all is working. For now I resolve it by checking for "content-type" headers before call apollo handler and set it if haven`t.
The text was updated successfully, but these errors were encountered:
Hmm, I think current versions of the code do look in content-type. I also don't see the error "Missing Content-Type" anywhere in the code.
We are also in the process of removing the built-in integration with (an outdated version of) graphql-upload for Apollo Server 3; instead, we encourage folks who want uploads to use that package directly. Because there's a workaround for this issue (and there isn't a detailed enough reproduction for me to understand where this error comes from) and it won't be part of AS3, I'm going to close this issue.
I get "Error: Missing Content-Type" when I tried upload file. I send event.headers['Content-Type'] and it throw error, but if I send event.headers['content-type'] all is working. For now I resolve it by checking for "content-type" headers before call apollo handler and set it if haven`t.
The text was updated successfully, but these errors were encountered: