With #479, there is now support for proxying a text/event-stream, but not any other stream type (video/data). From what I can tell, this was originally not possible because of the way RewritableResponse works.
But with the new Stream Support, I don't see RewritableResponse used anywhere in the new implementation. Furthermore, the reference implementation ideonate/jhsingle-native-proxy/jhsingle_native_proxy/proxyhandlers.py#L249 has no restriction to the stream type and just exposes this as a configurable flag.
So is there still any reason we currently only support text/event-stream, or could this be expanded?
With #479, there is now support for proxying a
text/event-stream, but not any other stream type (video/data). From what I can tell, this was originally not possible because of the wayRewritableResponseworks.But with the new Stream Support, I don't see
RewritableResponseused anywhere in the new implementation. Furthermore, the reference implementation ideonate/jhsingle-native-proxy/jhsingle_native_proxy/proxyhandlers.py#L249 has no restriction to the stream type and just exposes this as a configurable flag.So is there still any reason we currently only support
text/event-stream, or could this be expanded?