We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3062025 commit e0f2a02Copy full SHA for e0f2a02
middleware/proxy.go
@@ -366,8 +366,7 @@ func ProxyWithConfig(config ProxyConfig) echo.MiddlewareFunc {
366
switch {
367
case c.IsWebSocket():
368
proxyRaw(tgt, c).ServeHTTP(res, req)
369
- case req.Header.Get(echo.HeaderAccept) == "text/event-stream":
370
- default:
+ default: // even SSE requests
371
proxyHTTP(tgt, c, config).ServeHTTP(res, req)
372
}
373
0 commit comments