[Python-checkins] cpython (3.4): use a more modern UA (#25145)
benjamin.peterson
python-checkins at python.org
Sun Sep 20 20:19:17 CEST 2015
https://hg.python.org/cpython/rev/1fcdca298be9
changeset: 98083:1fcdca298be9
branch: 3.4
parent: 98080:048fce602bcd
user: Benjamin Peterson <benjamin at python.org>
date: Sun Sep 20 23:16:45 2015 +0500
summary:
use a more modern UA (#25145)
files:
Doc/howto/urllib2.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -174,7 +174,7 @@
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' }
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list