Browse Source

Merge 1180fea45f into 460f8d2cc8

pull/15613/merge
AshNicolus 13 hours ago
committed by GitHub
parent
commit
928ec8d3ef
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      fastapi/sse.py

2
fastapi/sse.py

@ -201,7 +201,7 @@ def format_sse_event(
) -> bytes:
"""Build SSE wire-format bytes from **pre-serialized** data.
The result always ends with `\n\n` (the event terminator).
The result always ends with `\\n\\n` (the event terminator).
"""
lines: list[str] = []

Loading…
Cancel
Save