DazWorrall/flask-sse — pull request #2 by ldmberman (2013-09-08 21:26:59+00:00)
Title: coerce data in sse stream to bytes

Hello! Werkzeug falls with **AssertionError 'applications must write bytes'** because of unicode strings like **u'retry: 30000\n'** coming from sse. Coercion to str should fix the problem.