You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Philosophically, I can describe HTTP web services in 12 words: exchanging data with remote servers using nothing but the operations of HTTP. - Mark Pilgrim
In the words of the author, 304: Not Modified means *"same shit, different day." (a) Discuss what he means (b) Describe when the statement does not apply.
There are five (5) features that all HTTP clients should support. Briefly, help to describe.
Mark so boldly suggests that httplib2 is better than urllib. Expand based on guidelines below:
Like urllib, httplib2 also returns bytes, not strings. Why?
How does caching work on httplib2?
How does httplib2 handle Last-Modified and ETag headers?
Uh oh!
There was an error while loading. Please reload this page.
Source: https://diveintopython3.net/http-web-services.html
Review Questions
In the words of the author,
304: Not Modified
means *"same shit, different day." (a) Discuss what he means (b) Describe when the statement does not apply.There are five (5) features that all HTTP clients should support. Briefly, help to describe.
Mark so boldly suggests that
httplib2
is better thanurllib
. Expand based on guidelines below:urllib
,httplib2
also returns bytes, not strings. Why?httplib2
?httplib2
handleLast-Modified
andETag
headers?httplib2
handle compression?httplib2
handle redirects?External References
The text was updated successfully, but these errors were encountered: