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

Detect event-stream content type properly #56

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

kevinmcconnell
Copy link
Collaborator

If the content type of an event stream includes a charset, we were failing to detect it, and thus failing to disable buffering automatically for that response. We should be ignoring the charset portion when matching.

Fixes #54.

If the content type of an event stream includes a charset, we were
failing to detect it, and thus failing to disable buffering
automatically for that response. We should be ignoring the charset
portion when matching.

Fixes #54.
@kevinmcconnell kevinmcconnell merged commit e584373 into main Oct 25, 2024
3 checks passed
@kevinmcconnell kevinmcconnell deleted the detect-event-stream-content-type-properly branch October 25, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server-Sent Events is still being buffered if charset is set in Content-Type
1 participant