mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
use a more modern UA (#25145)
This commit is contained in:
parent
c37c49fd56
commit
95acbcedc4
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ Explorer [#]_. ::
|
|||
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' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue