Skip to content

Commit 05ae3ee

Browse files
authored
Clarify raw_path of WebSocket also excludes query string (#474)
Discussed in #468, `raw_path` of WebSocket is updated for clarification.
1 parent 85d2445 commit 05ae3ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specs/www.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ metadata (mostly from the HTTP request line and headers):
315315
string, with percent-encoded sequences and UTF-8 byte sequences
316316
decoded into characters.
317317

318-
* ``raw_path`` (*byte string*) -- The original HTTP path component
319-
unmodified from the bytes that were received by the web server. Some
320-
web server implementations may be unable to provide this. Optional;
321-
if missing defaults to ``None``.
318+
* ``raw_path`` (*byte string*) -- The original HTTP path component,
319+
excluding any query string, unmodified from the bytes that were
320+
received by the web server. Some web server implementations may
321+
be unable to provide this. Optional; if missing defaults to ``None``.
322322

323323
* ``query_string`` (*byte string*) -- URL portion after the
324324
``?``. Optional; if missing or ``None`` default is empty string.

0 commit comments

Comments
 (0)