Hi

On 6/23/23 13:14, Willy Tarreau wrote:
But you're aware that what you're asking for is a direct violation of
basic HTTP messaging rules stating that no agent may depend on chunk
delivery due to anything along the chain possibly having to buffer some
of the data for analysis or transformation. I just found it now, it's
RFC9110#7.6:

   https://www.rfc-editor.org/rfc/rfc9110

   An HTTP message can be parsed as a stream for incremental processing or
   forwarding downstream. However, senders and recipients cannot rely on
   incremental delivery of partial messages, since some implementations will
   buffer or delay message forwarding for the sake of network efficiency,
   security checks, or content transformations.

Note: this text was already in RFC7230 9 years ago so it's not something
new.


It's interesting to note that this would also mean that "Server-sent events"

https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events

that are an "official" feature of web browsers / the JavaScript API would be in violation of the HTTP semantics.

Best regards
Tim Düsterhus

Reply via email to