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

Add Accept: text/event-stream header #17

Merged
merged 1 commit into from
Jan 24, 2013

Conversation

williamkapke
Copy link
Member

Simple enough change: Tell the server what kind of response we are looking for.

@williamkapke
Copy link
Member Author

Additional info: http://www.w3.org/TR/eventsource/#the-eventsource-interface

For HTTP connections, the Accept header may be included; if included, it must contain only formats of event framing that are supported by the user agent (one of which must be text/event-stream, as described below).

aslakhellesoy added a commit that referenced this pull request Jan 24, 2013
Add Accept: text/event-stream header
@aslakhellesoy aslakhellesoy merged commit 405c3ef into EventSource:master Jan 24, 2013
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.

2 participants