Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a3ff36922e5989da

Jump to content

Talk:Server-sent events

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 11 months ago by PhillipWardHutto in topic An incorrect sentence re: persistent connections

An incorrect sentence re: persistent connections

[edit]

This sentence is manifestly WRONG.

"Since SSE does not use either persistent connections nor chunked transfer encoding, HTTP/1.1 is not a technical requirement."

A persistent connection is part of the raison d'etre of SSE and is required by the standard by the inclusion of techniques such as message "framing", "event ids" and mechanisms to "terminate" a clients reconnection attempts in the face of lower-level connectivity failure.

There is one scenario that might *suggest* the lack of an abstract persistent connection.

Clients are allowed to temporarily "hand off" management of a (persistent) connection to a proxy in "difficult" environments (mobile handsets, brief loss of connectivity, limited battery power, etc.). But even in this "edge case" the standard considers the client+proxy as collectively maintaining the "persistent connection."

"9.2.8 Connectionless push and other features User agents running in controlled environments, e.g. browsers on mobile handsets tied to specific carriers, may offload the management of the connection to a proxy on the network. In such a situation, the user agent for the purposes of conformance is considered to include both the handset software and the network proxy." PhillipWardHutto (talk) 03:31, 25 September 2025 (UTC)Reply