use a more modern UA (#25145)

This commit is contained in:
Benjamin Peterson 2015-09-20 23:16:45 +05:00
parent c37c49fd56
commit 95acbcedc4

View file

@ -174,7 +174,7 @@ Explorer [#]_. ::
import urllib.request import urllib.request
url = 'http://www.someserver.com/cgi-bin/register.cgi' 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', values = {'name' : 'Michael Foord',
'location' : 'Northampton', 'location' : 'Northampton',
'language' : 'Python' } 'language' : 'Python' }