diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-09-20 18:16:45 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-09-20 18:16:45 (GMT) |
commit | 95acbcedc481dca2597a58d54910814c0300b3cd (patch) | |
tree | 5ac934fbf5b4e9da9285f6b270e8315befcf8823 /Doc | |
parent | c37c49fd5617ffc7cfc37acee2e2737e1c357ca3 (diff) | |
download | cpython-95acbcedc481dca2597a58d54910814c0300b3cd.zip cpython-95acbcedc481dca2597a58d54910814c0300b3cd.tar.gz cpython-95acbcedc481dca2597a58d54910814c0300b3cd.tar.bz2 |
use a more modern UA (#25145)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/urllib2.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst index 01ae513..a824032 100644 --- a/Doc/howto/urllib2.rst +++ b/Doc/howto/urllib2.rst @@ -174,7 +174,7 @@ Explorer [#]_. :: import urllib.request url = 'http://www.someserver.com/cgi-bin/register.cgi' - user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' + user_agent = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64)' values = {'name' : 'Michael Foord', 'location' : 'Northampton', 'language' : 'Python' } |