From 4cdb5691e05c1f08b2d4f847396cc16b006fc9e1 Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Sun, 26 Jul 2009 14:35:20 -0400 Subject: [PATCH] updated Python doc links to 3.1 --- http-web-services.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/http-web-services.html b/http-web-services.html index f7a1645..59a2a66 100755 --- a/http-web-services.html +++ b/http-web-services.html @@ -36,8 +36,8 @@ mark{display:inline}

Python 3 comes with two different libraries for interacting with HTTP web services:

So which one should you use? Neither of them. Instead, you should use httplib2, an open source third-party library that implements HTTP more fully than http.client but provides a better abstraction than urllib.request. @@ -213,7 +213,7 @@ Cache-Control: max-age=31536000, public send: b'GET /examples/feed.xml HTTP/1.1 Host: diveintopython3.org Accept-Encoding: identity -User-Agent: Python-urllib/3.0' +User-Agent: Python-urllib/3.1' Connection: close reply: 'HTTP/1.1 200 OK' …further debugging information omitted… @@ -265,7 +265,7 @@ Content-Type: application/xml send: b'GET /examples/feed.xml HTTP/1.1 Host: diveintopython3.org Accept-Encoding: identity -User-Agent: Python-urllib/3.0' +User-Agent: Python-urllib/3.1' Connection: close reply: 'HTTP/1.1 200 OK' …further debugging information omitted…