Update to 2.9.0:

2.9.0 (2015-12-15)
++++++++++++++++++

**Minor Improvements** (Backwards compatible)

- The ``verify`` keyword argument now supports being passed a path to a
  directory of CA certificates, not just a single-file bundle.
- Warnings are now emitted when sending files opened in text mode.
- Added the 511 Network Authentication Required status code to the status code
  registry.

**Bugfixes**

- For file-like objects that are not seeked to the very beginning, we now
  send the content length for the number of bytes we will actually read, rather
  than the total size of the file, allowing partial file uploads.
- When uploading file-like objects, if they are empty or have no obvious
  content length we set ``Transfer-Encoding: chunked`` rather than
  ``Content-Length: 0``.
- We correctly receive the response in buffered mode when uploading chunked
  bodies.
- We now handle being passed a query string as a bytestring on Python 3, by
  decoding it as UTF-8.
- Sessions are now closed in all cases (exceptional and not) when using the
  functional API rather than leaking and waiting for the garbage collector to
  clean them up.
- Correctly handle digest auth headers with a malformed ``qop`` directive that
  contains no token, by treating it the same as if no ``qop`` directive was
  provided at all.
- Minor performance improvements when removing specific cookies by name.
This commit is contained in:
wiz 2015-12-27 23:38:46 +00:00
parent 4804af54f3
commit 005778b22b
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.17 2015/11/06 21:42:14 wiz Exp $
# $NetBSD: Makefile,v 1.18 2015/12/27 23:38:46 wiz Exp $
DISTNAME= requests-2.8.1
DISTNAME= requests-2.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel www
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/}

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.12 2015/11/06 21:42:14 wiz Exp $
$NetBSD: distinfo,v 1.13 2015/12/27 23:38:46 wiz Exp $
SHA1 (requests-2.8.1.tar.gz) = 8488f2544b2f72ae5a366ca9973707868bdc3c74
RMD160 (requests-2.8.1.tar.gz) = c09c161591b23ab479d36d6da227ea9746d2a123
SHA512 (requests-2.8.1.tar.gz) = bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb
Size (requests-2.8.1.tar.gz) = 480803 bytes
SHA1 (requests-2.9.0.tar.gz) = 5da11303dcb6eca601c79cf8c90345cd997d66c0
RMD160 (requests-2.9.0.tar.gz) = d0cdbe1c2b35d071a84ee3b6eac54f6dd27c3171
SHA512 (requests-2.9.0.tar.gz) = 8df3dd0a803f44eea269275e247f823c0d676b04ee44c719135e3661c6d951a0d94fac305766b99e10ba09f5f602e3f57883b0ae764aa7fce8bd1d92e86be85e
Size (requests-2.9.0.tar.gz) = 483589 bytes