Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServerSentEvent return value can't parse by frontend #525

Open
lbsx opened this issue Mar 2, 2025 · 0 comments
Open

ServerSentEvent return value can't parse by frontend #525

lbsx opened this issue Mar 2, 2025 · 0 comments

Comments

@lbsx
Copy link

lbsx commented Mar 2, 2025


name: "🐛 Bug Report"
about: "If something isn't working as expected."
title: ''

Describe the bug
yield ServerSentEvent({"content": res}) # data split by "\r\n",
frontend parse wrong. Because the front-end requires \n\n
how I let ServerSentEvent return "\r\n" replace "\n\n"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant