eventsource
eventsource copied to clipboard
Fix unit tests.
- Add a short sleep to startEvent stream to mitigate race condition. expectResponse() already has one.
- Add a required Host: header to the HTTP/1.1 GET request