mirror of
https://github.com/python/cpython.git
synced 2025-10-29 09:29:26 +00:00
Typo fix.
This commit is contained in:
parent
9427dcfc31
commit
54ebb78171
1 changed files with 2 additions and 2 deletions
|
|
@ -666,8 +666,8 @@ Yes. Here's a simple example that uses urllib.request::
|
||||||
'/cgi-bin/some-cgi-script', data=qs)
|
'/cgi-bin/some-cgi-script', data=qs)
|
||||||
msg, hdrs = req.read(), req.info()
|
msg, hdrs = req.read(), req.info()
|
||||||
|
|
||||||
Note that in general for a percent-encoded POST operations, query strings must be
|
Note that in general for percent-encoded POST operations, query strings must be
|
||||||
quoted by using :func:`urllib.parse.urlencode`. For example to send name="Guy Steele,
|
quoted using :func:`urllib.parse.urlencode`. For example to send name="Guy Steele,
|
||||||
Jr."::
|
Jr."::
|
||||||
|
|
||||||
>>> import urllib.parse
|
>>> import urllib.parse
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue