AshNicolus
13 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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] = [] |
|
|
|
|
|
|
|
|