From: Benjamin Peterson Date: Sun, 20 Sep 2015 18:16:45 +0000 (+0500) Subject: use a more modern UA (#25145) X-Git-Tag: v2.7.11rc1~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b822d0e2f1b2c3bf6514775dcc367c9d92b481e;p=thirdparty%2FPython%2Fcpython.git use a more modern UA (#25145) --- diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst index 0cf62f581b62..cccbc54169b3 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' }