./devel/py-requests, HTTP library, written in Python, for human beings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 2.14.2, Package name: py27-requests-2.14.2, Maintainer: imil

Requests takes all of the work out of Python HTTP/1.1 - making your
integration with web services seamless. There's no need to manually add query
strings to your URLs, or to form-encode your POST data. Keep-alive and HTTP
connection pooling are 100% automatic, powered by urllib3, which is embedded
within Requests.

Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:

Master sites:

SHA1: f9adf013d4a206c470dde1284c6bb9810f9b8656
RMD160: ed89f30bdd84cb457330efb6b7ca9c670b02a3b0
Filesize: 508.815 KB

Version history: (Expand)

CVS history: (Expand)

   2017-05-10 19:42:09 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 2.14.2:
- Changed a less-than to an equal-to and an or in the dependency markers to
  widen compatibility with older setuptools releases.
   2017-05-10 05:41:20 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 2.14.1:
- Changed the dependency markers to widen compatibility with older pip
   2017-05-09 19:08:39 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
Changes 2.14.0:


- It is now possible to pass ``no_proxy`` as a key to the ``proxies``
  dictionary to provide handling similar to the ``NO_PROXY`` environment
- When users provide invalid paths to certificate bundle files or directories
  Requests now raises ``IOError``, rather than failing at the time of the HTTPS
  request with a fairly inscrutable certificate validation error.
- The behavior of ``SessionRedirectMixin`` was slightly altered.
  ``resolve_redirects`` will now detect a redirect by calling
  ``get_redirect_target(response)`` instead of directly
  querying ``Response.is_redirect`` and ``Response.headers['location']``.
  Advanced users will be able to process malformed redirects more easily.
- Changed the internal calculation of elapsed request time to have higher
  resolution on Windows.
- Added ``win_inet_pton`` as conditional dependency for the ``[socks]`` extra
  on Windows with Python 2.7.
- Changed the proxy bypass implementation on Windows: the proxy bypass
  check doesn't use forward and reverse DNS requests anymore
- URLs with schemes that begin with ``http`` but are not ``http`` or ``https``
  no longer have their host parts forced to lowercase.


- Much improved handling of non-ASCII ``Location`` header values in redirects.
  Fewer ``UnicodeDecodeError``s are encountered on Python 2, and Python 3 now
  correctly understands that Latin-1 is unlikely to be the correct encoding.
- If an attempt to ``seek`` file to find out its length fails, we now
  appropriately handle that by aborting our content-length calculations.
- Restricted ``HTTPDigestAuth`` to only respond to auth challenges made on 4XX
  responses, rather than to all auth challenges.
- Fixed some code that was firing ``DeprecationWarning`` on Python 3.6.
- The dismayed person emoticon (``/o\\``) no longer has a big head. I'm sure
  this is what you were all worrying about most.


- Updated bundled urllib3 to v1.21.1.
- Updated bundled chardet to v3.0.2.
- Updated bundled idna to v2.5.
- Updated bundled certifi to 2017.4.17.
   2017-04-04 14:42:23 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
Changes 2.13.0:

* Only load the idna library when we’ve determined we need it. This will save \ 
some memory for users.

* 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) | Package updated
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)
- 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) | Package updated
Log message:
Update devel/py-requests to 2.11.1.



- 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.



- Added support for the ``ALL_PROXY`` environment variable.
- Reject header values that contain leading whitespace or newline
  characters to reduce risk of header smuggling.


- 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.


- 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: