09cfd96b72
2.6.0 (2015-03-14) ++++++++++++++++++ **Bugfixes** - Fix handling of cookies on redirect. Previously a cookie without a host value set would use the hostname for the redirected URL exposing requests users to session fixation attacks and potentially cookie stealing. This was disclosed privately by Matthew Daley of `BugFuzz <https://bugfuzz.com>`_. An CVE identifier has not yet been assigned for this. This affects all versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends). - Fix error when requests is an ``install_requires`` dependency and ``python setup.py test`` is run. (#2462) - Fix error when urllib3 is unbundled and requests continues to use the vendored import location. - Include fixes to ``urllib3``'s header handling. - Requests' handling of unvendored dependencies is now more restrictive. **Features and Improvements** - Support bytearrays when passed as parameters in the ``files`` argument. (#2468) - Avoid data duplication when creating a request with ``str``, ``bytes``, or ``bytearray`` input to the ``files`` argument.
18 lines
572 B
Makefile
18 lines
572 B
Makefile
# $NetBSD: Makefile,v 1.15 2015/03/16 13:58:37 wiz Exp $
|
|
|
|
DISTNAME= requests-2.6.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel www
|
|
MASTER_SITES= https://pypi.python.org/packages/source/r/requests/
|
|
|
|
MAINTAINER= imil@NetBSD.org
|
|
HOMEPAGE= http://docs.python-requests.org/en/latest/
|
|
COMMENT= HTTP library, written in Python, for human beings
|
|
LICENSE= apache-2.0
|
|
|
|
USE_LANGUAGES= c
|
|
REPLACE_PYTHON= requests/certs.py requests/packages/chardet/chardetect.py
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|