python requests 库使用小结(二)
主要记录一下requests常用的一些高级特性:1 请求和相应对象:发送一个get请求:r = requests.get('http://blog.csdn.net/hanglinux')取得服务器返回来的请求头:>>> r.headers{'X-Powered-By': 'PHP 5.4.28', 'Transfer-Encoding': 'chunked', 'S