File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ Explorer [#]_. ::
174174 import urllib.request
175175
176176 url = 'http://www.someserver.com/cgi-bin/register.cgi'
177- user_agent = 'Mozilla/4 .0 (compatible; MSIE 5.5; Windows NT )'
177+ user_agent = 'Mozilla/5 .0 (Windows NT 6.1; Win64; x64 )'
178178 values = {'name' : 'Michael Foord',
179179 'location' : 'Northampton',
180180 'language' : 'Python' }
@@ -572,8 +572,7 @@ Footnotes
572572
573573This document was reviewed and revised by John Lee.
574574
575- .. [# ] Like Google for example. The *proper * way to use google from a program
576- is to use `PyGoogle <http://pygoogle.sourceforge.net >`_ of course.
575+ .. [# ] Google for example.
577576 .. [# ] Browser sniffing is a very bad practise for website design - building
578577 sites using web standards is much more sensible. Unfortunately a lot of
579578 sites still send different versions to different browsers.
You can’t perform that action at this time.
0 commit comments