Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/client_quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ that case you can specify multiple values for each key::
expect = 'http://httpbin.org/get?key=value2&key=value1'
assert str(r.url) == expect

You can also pass :class:`str` content as param, but beware -- content
is not encoded by library. Note that ``+`` is not encoded::
You can also pass :class:`str` content as param. The value is used as a
query string, but passing ``params`` does not disable URL
canonicalization. Note that ``+`` is not encoded::

async with session.get('http://httpbin.org/get',
params='key=value+1') as r:
Expand All @@ -149,7 +150,9 @@ is not encoded by library. Note that ``+`` is not encoded::

.. warning::

Passing *params* overrides ``encoded=True``, never use both options.
Passing *params* overrides ``encoded=True``. Never use both options
if you need to preserve exact query-string bytes.
Build the full URL (including query) instead.

Response Content and Status Code
================================
Expand Down
Loading