Closed waggledans closed 2 years ago
I could add a test that starts a server and fetches events via the proxy but it would require updating dependencies in go.mod (and, ideally, setting go version to 1.17 to leverage modules graph pruning to avoid pulling go-sse to other packages that use goproxy). wdyt @elazarl ?
@waggledans sounds good, I'll be happy to approve the PR
Resolves https://github.com/elazarl/goproxy/issues/475
Flush response body for server-side events to avoid events buffering by goproxy. I validated that it works with sse.