发布于 2016-08-09 00:27:13 | 115 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Requests Python 的 HTTP 客户端库

Requests 是一个 Python 的 HTTP 客户端库。


Requests v2.11.0 发布了,

一些提升:

  • Added support for the ALL_PROXY environment variable.

  • Reject header values that contain leading whitespace or newline characters to reduce risk of header smuggling.

Bug 修复:

  • Fixed occasional TypeError when attempting to decode a JSON response that occurred in an error case. Now correctly returns a ValueError.

  • Requests would incorrectly ignore a non-CIDR IP address in the NO_PROXYenvironment variables: Requests now treats it as a specific IP.

  • Fixed a bug when sending JSON data that could cause us to encounter obscure OpenSSL errors in certain network conditions (yes, really).

  • Added type checks to ensure that iter_content only accepts integers andNone for chunk sizes.

  • Fixed issue where responses whose body had not been fully consumed would have the underlying connection closed but not returned to the connection pool, which could cause Requests to hang in situations where the HTTPAdapterhad been configured to use a blocking connection pool.

其他改进:

  • Updated bundled urllib3 to 1.16.

  • Some previous releases accidentally accepted integers as acceptable header values. This release does not.

下载地址:



历史版本 :
Requests 2.18.4 发布,Python 的 HTTP 客户端库
Requests 2.18.3 发布,Python 的 HTTP 客户端库
Requests v2.18.2 发布,Python 的 HTTP 客户端库
Requests v2.17.3,Python 的 HTTP 客户端库
Requests v2.16.4,Python 的 HTTP 客户端库
Requests v2.14.2 发布,Python 的 HTTP 客户端库
Requests v2.14.0 和 2.14.1 发布
Requests v2.13.0,Python 的 HTTP 客户端库
Requests v2.12.5,Python 的 HTTP 客户端库
Requests 2.12.4 发布,Python 的 HTTP 客户端库
Requests 2.12.1 发布,Python 的 HTTP 客户端库
Requests 2.12 发布,Python 的 HTTP 客户端库
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务