diff -r f6125114b55f Doc/howto/urllib2.rst --- a/Doc/howto/urllib2.rst Fri Sep 18 10:09:29 2015 +0300 +++ b/Doc/howto/urllib2.rst Fri Sep 18 20:30:58 2015 +0300 @@ -164,7 +164,7 @@ import urllib2 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' } @@ -559,8 +559,7 @@ .. [#] For an introduction to the CGI protocol see `Writing Web Applications in Python `_. -.. [#] Like Google for example. The *proper* way to use google from a program - is to use `PyGoogle `_ of course. +.. [#] Google for example. .. [#] Browser sniffing is a very bad practise for website design - building sites using web standards is much more sensible. Unfortunately a lot of sites still send different versions to different browsers.