Python 的 HTTP 客戶端庫,Requests 2.9.1 發布
Requests 2.9.1 發布,Requests 是一個 Python 的 HTTP 客戶端庫。
>>> r = requests.get('https://api.github.com', auth=('user', 'pass')) >>> r.status_code 204 >>> r.headers['content-type'] 'application/json' >>> r.text ...
此版本更新內容如下:
Bug 修復
-
Resolve regression introduced in 2.9.0 that made it impossible to send binary strings as bodies in Python 3.
</li> -
Fixed errors when calculating cookie expiration dates in certain locales.
</li> </ul>Miscellaneous
-
Updated bundled urllib3 to 1.13.1.
</li> </ul> 下載:<a href="/misc/goto?guid=4958975295862126326" _src="</a>本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-