summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-09-20 18:16:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-09-20 18:16:45 (GMT)
commit1b822d0e2f1b2c3bf6514775dcc367c9d92b481e (patch)
treeb6ef73907af257731db27aaa9b079bde6129d649 /Doc
parentc717e08720bf5643038a26d1812069b9288f18ae (diff)
downloadcpython-1b822d0e2f1b2c3bf6514775dcc367c9d92b481e.zip
cpython-1b822d0e2f1b2c3bf6514775dcc367c9d92b481e.tar.gz
cpython-1b822d0e2f1b2c3bf6514775dcc367c9d92b481e.tar.bz2
use a more modern UA (#25145)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/howto/urllib2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index 0cf62f5..cccbc54 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -164,7 +164,7 @@ Explorer [#]_. ::
import urllib2
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' }