- 授权协议: Apache
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: http://python-requests.org/
- 软件文档: http://docs.python-requests.org/en/latest/index.html
- 官方下载: https://github.com/requests/requests/releases
软件介绍
Requests 是一个 Python 的 HTTP 客户端库。
支持的 HTTP 特性:
Keep-Alive & Connection Pooling
International Domains and URLs
Sessions with Cookie Persistence
Browser-style SSL Verification
Automatic Content Decoding
Basic/Digest Authentication
Elegant Key/Value Cookies
Automatic Decompression
Unicode Response Bodies
HTTP(S) Proxy Support
Multipart File Uploads
Streaming Downloads
Connection Timeouts
Chunked Requests
.netrcSupportThread-safety
示例代码:
>>> r = requests.get('https://git.oschina.net', auth=('user', 'pass'))
>>> r.status_code
204
>>> r.headers['content-type']
'application/json'
>>> r.text
...
The Master Switch
Tim Wu / Knopf / 2010-11-2 / USD 27.95
In this age of an open Internet, it is easy to forget that every American information industry, beginning with the telephone, has eventually been taken captive by some ruthless monopoly or cartel. Wit......一起来看看 《The Master Switch》 这本书的介绍吧!
