diff -r ab162f925761 Doc/library/http.client.rst --- a/Doc/library/http.client.rst Mon Jul 11 01:39:35 2011 +0200 +++ b/Doc/library/http.client.rst Sat Jul 16 03:25:56 2011 -0500 @@ -595,8 +595,8 @@ >>> params = urllib.parse.urlencode({'spam': 1, 'eggs': 2, 'bacon': 0}) >>> headers = {"Content-type": "application/x-www-form-urlencoded", ... "Accept": "text/plain"} - >>> conn = http.client.HTTPConnection("musi-cal.mojam.com:80") - >>> conn.request("POST", "/cgi-bin/query", params, headers) + >>> conn = http.client.HTTPConnection("httpstat.us") + >>> conn.request("POST", "/200", params, headers) >>> response = conn.getresponse() >>> print(response.status, response.reason) 200 OK