You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not believe that was intentional - my guess is that we specifically clarified it for standard HTTP but not for WebSocket. I would say we should update the WebSocket side to say that it also excludes the query string.
The definition of
raw_path
in the ASGI specification differs slightly between HTTP and WebSockets protocols.raw_path
.asgiref/specs/www.rst
Lines 107 to 110 in b7aaa79
raw_path
.asgiref/specs/www.rst
Lines 318 to 321 in b7aaa79
To ensure clarity and consistency, it would be beneficial to explicitly define the behavior of
raw_path
for WebSockets:Given the potential for confusion, it would be helpful to clarify this in the specification.
The text was updated successfully, but these errors were encountered: