File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,8 +119,9 @@ that case you can specify multiple values for each key::
119119 expect = 'http://httpbin.org/get?key=value2&key=value1'
120120 assert str(r.url) == expect
121121
122- You can also pass :class: `str ` content as param, but beware -- content
123- is not encoded by library. Note that ``+ `` is not encoded::
122+ You can also pass :class: `str ` content as param. The value is used as a
123+ query string, but passing ``params `` does not disable URL
124+ canonicalization. Note that ``+ `` is not encoded::
124125
125126 async with session.get('http://httpbin.org/get',
126127 params='key=value+1') as r:
@@ -146,7 +147,9 @@ is not encoded by library. Note that ``+`` is not encoded::
146147
147148.. warning ::
148149
149- Passing *params * overrides ``encoded=True ``, never use both options.
150+ Passing *params * overrides ``encoded=True ``. Never use both options
151+ if you need to preserve exact query-string bytes.
152+ Build the full URL (including query) instead.
150153
151154Response Content and Status Code
152155================================
You can’t perform that action at this time.
0 commit comments