Skip to content

Commit

Permalink
Clarify raw_path of WebSocket also excludes query string (#474)
Browse files Browse the repository at this point in the history
Discussed in #468, `raw_path` of WebSocket is updated for clarification.
  • Loading branch information
raptium authored Oct 18, 2024
1 parent 85d2445 commit 05ae3ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specs/www.rst
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ metadata (mostly from the HTTP request line and headers):
string, with percent-encoded sequences and UTF-8 byte sequences
decoded into characters.

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

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

0 comments on commit 05ae3ee

Please sign in to comment.