We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RemoteProtocolError
event_hint
Hi 👋
I was trying to add a test on uvicorn, when conn.receive_data() was able to send a RemoteProtocolError without an error hint:
uvicorn
conn.receive_data()
https://github.com/encode/uvicorn/blob/22bd00eab6dfa7145618ce6cd1acfdffea8bbe6e/uvicorn/protocols/websockets/wsproto_impl.py#L89-L94
But the thing is... In the whole wsproto source code, there's always an event_hint being sent.
wsproto
Can we make event_hint mandatory here?
wsproto/src/wsproto/utilities.py
Line 50 in a7d9ff0
EDIT: See encode/uvicorn#1486.
The text was updated successfully, but these errors were encountered:
👋
Sorry, something went wrong.
Why?
No branches or pull requests
Hi 👋
I was trying to add a test on
uvicorn
, whenconn.receive_data()
was able to send aRemoteProtocolError
without an error hint:https://github.com/encode/uvicorn/blob/22bd00eab6dfa7145618ce6cd1acfdffea8bbe6e/uvicorn/protocols/websockets/wsproto_impl.py#L89-L94
But the thing is... In the whole
wsproto
source code, there's always anevent_hint
being sent.Can we make
event_hint
mandatory here?wsproto/src/wsproto/utilities.py
Line 50 in a7d9ff0
EDIT: See encode/uvicorn#1486.
The text was updated successfully, but these errors were encountered: