Skip to content

Commit

Permalink
Clarify that raw_path does not include the query string
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 2, 2023
1 parent 5c41b17 commit f872127
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 @@ -87,10 +87,10 @@ The *connection scope* information passed in ``scope`` contains:
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 ``?``,
percent-encoded.
Expand Down

0 comments on commit f872127

Please sign in to comment.