Commit 5c64eb9b authored by Benjamin Peterson's avatar Benjamin Peterson

use a more modern UA (#25145)

parent 3c50a9e3
...@@ -174,7 +174,7 @@ Explorer [#]_. :: ...@@ -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' }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment