2017-04-04 14:42:23 by Adam Ciarcinski | Files touched by this commit (3) |
Log message:
Changes 2.13.0:
Features
* Only load the idna library when weâve determined we need it. This will \
save some memory for users.
Miscellaneous
* Updated bundled urllib3 to 1.20.
* Updated bundled idna to 2.2.
|
2017-01-01 09:21:49 by Ryo ONODERA | Files touched by this commit (3) |
Log message:
Fix py-certbot segfault on NetBSD with ugly workaround, bump PKGREVISION
|
2016-12-15 12:06:08 by Adam Ciarcinski | Files touched by this commit (3) |
Log message:
Changes 2.12.4 (2016-12-14)
**Bugfixes**
- Fixed regression from 2.12.2 where non-string types were rejected in the
basic auth parameters. While support for this behaviour has been readded,
the behaviour is deprecated and will be removed in the future.
|
2016-11-11 10:27:21 by Filip Hajny | Files touched by this commit (2) |
Log message:
Update devel/py-requests to 2.11.1.
2.11.1
Bugfixes
- Fixed a bug when using ``iter_content`` with ``decode_unicode=True``
for streamed bodies would raise ``AttributeError``. This bug was
introduced in 2.11.
- Strip Content-Type and Transfer-Encoding headers from the header block
when following a redirect that transforms the verb from POST/PUT to GET.
2.11.0
Improvements
- Added support for the ``ALL_PROXY`` environment variable.
- Reject header values that contain leading whitespace or newline
characters to reduce risk of header smuggling.
Bugfixes
- 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_PROXY`` environment 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 and ``None`` 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 ``HTTPAdapter`` had been configured to use a blocking
connection pool.
Miscellaneous
- Updated bundled urllib3 to 1.16.
- Some previous releases accidentally accepted non-strings as acceptable
header values. This release does not.
|
2016-06-08 19:49:20 by Thomas Klausner | Files touched by this commit (15) |
Log message:
Switch to MASTER_SITE_PYPI.
|
2016-05-05 13:47:45 by Thomas Klausner | Files touched by this commit (3) |
Log message:
Updated py-requests to 2.10.0.
2.10.0 (04-29-2016)
+++++++++++++++++++
**New Features**
- SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
**Miscellaneous**
- Updated bundled urllib3 to 1.15.1.
2.9.2 (04-29-2016)
++++++++++++++++++
**Improvements**
- Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
as its underlying datastore.
**Bugfixes**
- Don't use redirect_cache if allow_redirects=False
- When passed objects that throw exceptions from ``tell()``, send them via
chunked transfer encoding instead of failing.
- Raise a ProxyError for proxy related connection issues.
|
2016-01-03 14:08:23 by Thomas Klausner | Files touched by this commit (1) |
Log message:
Cannot test(build)-depend on py-test-httpbin since it uses py-requests.
|
2016-01-02 11:49:49 by Thomas Klausner | Files touched by this commit (2) |
Log message:
Update py-requests to 2.9.1.
2.9.1 (2015-12-21)
Bugfixes
* Resolve regression introduced in 2.9.0 that made it impossible
to send binary strings as bodies in Python 3.
* Fixed errors when calculating cookie expiration dates in certain
locales.
Miscellaneous
* Updated bundled urllib3 to 1.13.1.
|
2015-12-28 00:38:46 by Thomas Klausner | Files touched by this commit (2) |
Log message:
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.
|
2015-11-06 22:42:14 by Thomas Klausner | Files touched by this commit (3) |
Log message:
Update py-requests to 2.8.1.
2.8.1 (2015-10-13)
++++++++++++++++++
**Bugfixes**
- Update certificate bundle to match ``certifi`` 2015.9.6.2's weak certificate
bundle.
- Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of
``ConnectionError``
- When using the PreparedRequest flow, requests will now correctly respect the
``json`` parameter. Broken in 2.8.0.
- When using the PreparedRequest flow, requests will now correctly handle a
Unicode-string method name on Python 2. Broken in 2.8.0.
2.8.0 (2015-10-05)
++++++++++++++++++
**Minor Improvements** (Backwards Compatible)
- Requests now supports per-host proxies. This allows the ``proxies``
dictionary to have entries of the form
``{'<scheme>://<hostname>': '<proxy>'}``. Host-specific \
proxies will be used
in preference to the previously-supported scheme-specific ones, but the
previous syntax will continue to work.
- ``Response.raise_for_status`` now prints the URL that failed as part of the
exception message.
- ``requests.utils.get_netrc_auth`` now takes an ``raise_errors`` kwarg,
defaulting to ``False``. When ``True``, errors parsing ``.netrc`` files cause
exceptions to be thrown.
- Change to bundled projects import logic to make it easier to unbundle
requests downstream.
- Changed the default User-Agent string to avoid leaking data on Linux: now
contains only the requests version.
**Bugfixes**
- The ``json`` parameter to ``post()`` and friends will now only be used if
neither ``data`` nor ``files`` are present, consistent with the
documentation.
- We now ignore empty fields in the ``NO_PROXY`` enviroment variable.
- Fixed problem where ``httplib.BadStatusLine`` would get raised if combining
``stream=True`` with ``contextlib.closing``.
- Prevented bugs where we would attempt to return the same connection back to
the connection pool twice when sending a Chunked body.
- Miscellaneous minor internal changes.
- Digest Auth support is now thread safe.
**Updates**
- Updated urllib3 to 1.12.
|