mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
validation fiddling
This commit is contained in:
@@ -30,7 +30,7 @@ mark{display:inline}
|
||||
<li><a href=http://code.google.com/apis/gdata/>Google Data <abbr>API</abbr>s</a> allow you to interact with a wide variety of Google services, including <a href=http://www.blogger.com/>Blogger</a> and <a href=http://www.youtube.com/>YouTube</a>.
|
||||
<li><a href=http://www.flickr.com/services/api/>Flickr Services</a> allow you to upload and download photos from <a href=http://www.flickr.com/>Flickr</a>.
|
||||
<li><a href=http://apiwiki.twitter.com/>Twitter <abbr>API</abbr></a> allows you to publish status updates on <a href=http://twitter.com/>Twitter</a>.
|
||||
<li><a href=http://www.programmableweb.com/apis/directory/1?sort=mashups>…and many more</a>
|
||||
<li><a href="http://www.programmableweb.com/apis/directory/1?sort=mashups">…and many more</a>
|
||||
</ul>
|
||||
|
||||
<p>Python 3 comes with two different libraries for interacting with <abbr>HTTP</abbr> web services:
|
||||
@@ -224,7 +224,7 @@ reply: 'HTTP/1.1 200 OK'
|
||||
<pre class=screen>
|
||||
# continued from previous example
|
||||
<a><samp class=p>>>> </samp><kbd>print(response.headers.as_string())</kbd> <span>①</span></a>
|
||||
<samp><a>Date: Sun, 31 May 2009 19:23:06 GMT <span>②</span>
|
||||
<samp><a>Date: Sun, 31 May 2009 19:23:06 GMT <span>②</span></a>
|
||||
Server: Apache
|
||||
<a>Last-Modified: Sun, 31 May 2009 06:39:55 GMT <span>③</span></a>
|
||||
<a>ETag: "bfe-93d9c4c0" <span>④</span></a>
|
||||
|
||||
Reference in New Issue
Block a user