-
Notifications
You must be signed in to change notification settings - Fork 252
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
blank lines parsing? #18
Comments
Can you post the entire text the parser fails to parse (with newlines)? I'm guessing it is something like this:
And that parses just fine: 6b217bb Not sure how to reproduce what you see... |
I think I get it now. If you change the test I added to parse this instead:
So now it's at least reproducible... |
It's always positive when the developer agrees with the tester ;). I tried modifying the parser to make it work but I'm rather a newbie at parsing and couldn't get it to work in the short time I tried. |
This also appears to fail on UTF8 characters
|
Trying to run a SSE server
https://github.com/tomkersten/sses-node-example
...that works with a browser against this module and I'm getting a parser error.
I think there might be a condition that is not taken into account by the parser:
http://www.w3.org/TR/2009/WD-eventsource-20091029/#event-stream-interpretation
The text was updated successfully, but these errors were encountered: