摘要:
http://developer.yahoo.com/python/python-rest.htmlPython provides a number of modules for performing HTTP requests. This HOWTO describes how to perform GET and POST requests using the urllib and urllib2 modules from the Python standard library.Simple GET requests Simple POST requests Authenticated r 阅读全文
摘要:
http://www.cnblogs.com/chenzehe/archive/2010/08/30/1812995.htmlhttplib实现了HTTP和HTTPS的客户端协议,一般不直接使用,在python更高层的封装模块中(urllib,urllib2)使用了它的http实现。Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->importhttplibconn=httplib.HTTPConnection("google.co 阅读全文