Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Version 1.1.0

Latest
Compare
Choose a tag to compare
@jordanbyron jordanbyron released this 27 May 20:33

Update EventSource to support chunked data (#21)

Previously, our copy of EventSource didn't work when a line came which hadn't been terminated with a new line (chunked data). In that case, the split('\n') call would give you junk data which the rest of the logic couldn't handle.

There might be another edge case where the XHR request finishes before the full line comes in but that's outside the scope of this change.