Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

processRequest does not support multiple accept types #204

Closed
Jomik opened this issue Dec 2, 2021 · 2 comments
Closed

processRequest does not support multiple accept types #204

Jomik opened this issue Dec 2, 2021 · 2 comments
Assignees

Comments

@Jomik
Copy link

Jomik commented Dec 2, 2021

The currently bundle GraphiQL sends multiple accept types when sending a request:
Slightly related to #203

See

const isEventStream = accept === "text/event-stream";

I currently get accept = 'application/json, multipart/mixed, text/event-stream'
Maybe this should be updated to use includes.
Also, is there a reason to not check for multipart/mixed?

@Jomik
Copy link
Author

Jomik commented Dec 3, 2021

Fixed by #160 I assume

@n1ru4l n1ru4l self-assigned this Dec 16, 2021
@n1ru4l
Copy link
Contributor

n1ru4l commented Dec 16, 2021

@n1ru4l n1ru4l closed this as completed Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants