- update to 2.32.3:
* Fixed bug breaking the ability to specify custom SSLContexts
in sub-classes of HTTPAdapter.
* Fixed issue where Requests started failing to run on Python
versions compiled without the `ssl` module.
* To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0,
we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing
custom HTTPAdapters will need to migrate their code to use this new API. get_connection is
* Fixed an issue where setting verify=False on the first request from a Session
will cause subsequent requests to the same origin to also ignore cert verification,
* verify=True now reuses a global SSLContext which should improve request time
* Requests now supports optional use of character detection (chardet or charset_normalizer)
when repackaged or vendored. This enables pip and other projects to minimize their
OBS-URL: https://build.opensuse.org/request/show/1179087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=82
* Fixed bug breaking the ability to specify custom SSLContexts
in sub-classes of HTTPAdapter.
* Fixed issue where Requests started failing to run on Python
versions compiled without the `ssl` module.
* To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0,
we've renamed _get_connection to a new public API, get_connection_with_tls_context. Existing
custom HTTPAdapters will need to migrate their code to use this new API. get_connection is
* Fixed an issue where setting verify=False on the first request from a Session
will cause subsequent requests to the same origin to also ignore cert verification,
* verify=True now reuses a global SSLContext which should improve request time
* Requests now supports optional use of character detection (chardet or charset_normalizer)
when repackaged or vendored. This enables pip and other projects to minimize their
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=185
- Update to 2.32.1
* Fixed an issue where setting verify=False on the first request from a Session
will cause subsequent requests to the same origin to also ignore cert verification,
regardless of the value of verify. (bsc#1224788, CVE-2024-35195)
* verify=True now reuses a global SSLContext which should improve request time
variance between first and subsequent requests.
* Requests now supports optional use of character detection (chardet or charset_normalizer)
when repackaged or vendored. This enables pip and other projects to minimize their
vendoring surface area.
* Requests has officially added support for CPython 3.12 and dropped support for CPython 3.7.
* Starting in Requests 2.33.0, Requests will migrate to a PEP 517 build system using hatchling.
OBS-URL: https://build.opensuse.org/request/show/1175561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=182
- switch from unmaintained brotlipy to Brotli (same as urllib3)
- allow using newest version of charset-normalizer (3.0+)
- Skip test_pyopenssl_redirect due to gh#psf/requests#5846
- add 5711.patch from upstream instead to remove idna<3 pin
can install the new idna dropping python2
- refreshed requests-no-hardcoded-version.patch
- Do not require full python, (implicit) python-base is sufficient.
- Skip one more test that is flaky
- -test subpackage must be empty
* Only load the idna library when we’ve determined we need it.
* Fixed an issue with JSON encoding detection, specifically detecting
- Fixed requests-do-not-use-bundle.patch
requests-do-not-use-bundle.patch
- fix license (Apache-2.0 only)
- Now has a "security" package extras set,
- Bugfix for responses that attempt to redirect to themselves
- Support for connect timeouts! Timeout now accepts a tuple
(connect, read) which is used to set individual connect and
- update to 1.2.0:
+ charade: LGPL-2.1+
OBS-URL: https://build.opensuse.org/request/show/1110368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=80
- allow using newest version of charset-normalizer (3.0+)
- Skip test_pyopenssl_redirect due to gh#psf/requests#5846
- add 5711.patch from upstream instead to remove idna<3 pin
can install the new idna dropping python2
- refreshed requests-no-hardcoded-version.patch
- Do not require full python, (implicit) python-base is sufficient.
- Skip one more test that is flaky
- -test subpackage must be empty
* Only load the idna library when we’ve determined we need it.
* Fixed an issue with JSON encoding detection, specifically detecting
- Fixed requests-do-not-use-bundle.patch
requests-do-not-use-bundle.patch
- fix license (Apache-2.0 only)
- Now has a "security" package extras set,
- Bugfix for responses that attempt to redirect to themselves
- Support for connect timeouts! Timeout now accepts a tuple
(connect, read) which is used to set individual connect and
- update to 1.2.0:
+ charade: LGPL-2.1+
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=180
- Delete requests-no-hardcoded-version.patch
- Security Update to 2.31.0 (bsc#1211674):
Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
forwarding of Proxy-Authorization headers to destination servers when
following HTTPS redirects.
When proxies are defined with user info (https://user:pass@proxy:8080), Requests
will construct a Proxy-Authorization header that is attached to the request to
authenticate with the proxy.
In cases where Requests receives a redirect response, it previously reattached
the Proxy-Authorization header incorrectly, resulting in the value being
sent through the tunneled connection to the destination server. Users who rely on
defining their proxy credentials in the URL are strongly encouraged to upgrade
to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy
credentials once the change has been fully deployed.
Users who do not use a proxy or do not supply their proxy credentials through
the user information portion of their proxy URL are not subject to this
vulnerability.
Full details can be read in our Github Security Advisory
and CVE-2023-32681.
OBS-URL: https://build.opensuse.org/request/show/1092607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=79
Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
forwarding of Proxy-Authorization headers to destination servers when
following HTTPS redirects.
When proxies are defined with user info (https://user:pass@proxy:8080), Requests
will construct a Proxy-Authorization header that is attached to the request to
authenticate with the proxy.
In cases where Requests receives a redirect response, it previously reattached
the Proxy-Authorization header incorrectly, resulting in the value being
sent through the tunneled connection to the destination server. Users who rely on
defining their proxy credentials in the URL are strongly encouraged to upgrade
to Requests 2.31.0+ to prevent unintentional leakage and rotate their proxy
credentials once the change has been fully deployed.
Users who do not use a proxy or do not supply their proxy credentials through
the user information portion of their proxy URL are not subject to this
vulnerability.
Full details can be read in our Github Security Advisory
and CVE-2023-32681.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=177
* Officially added support for Python 3.10. (#5928)
* Added a `requests.exceptions.JSONDecodeError` to unify JSON exceptions between
Python 2 and 3. This gets raised in the `response.json()` method, and is
backwards compatible as it inherits from previously thrown exceptions.
Can be caught from `requests.exceptions.RequestException` as well. (#5856)
* Improved error text for misnamed `InvalidSchema` and `MissingSchema`
exceptions. This is a temporary fix until exceptions can be renamed
(Schema->Scheme). (#6017)
* Improved proxy parsing for proxy URLs missing a scheme. This will address
recent changes to `urlparse` in Python 3.9+. (#5917)
* Fixed defect in `extract_zipped_paths` which could result in an infinite loop
for some paths. (#5851)
* Fixed handling for `AttributeError` when calculating length of files obtained
by `Tarfile.extractfile()`. (#5239)
* Fixed urllib3 exception leak, wrapping `urllib3.exceptions.InvalidHeader` with
`requests.exceptions.InvalidHeader`. (#5914)
* Fixed bug where two Host headers were sent for chunked requests. (#5391)
* Fixed regression in Requests 2.26.0 where `Proxy-Authorization` was
incorrectly stripped from all requests sent with `Session.send`. (#5924)
* Fixed performance regression in 2.26.0 for hosts with a large number of
proxies available in the environment. (#5924)
* Fixed idna exception leak, wrapping `UnicodeError` with
`requests.exceptions.InvalidURL` for URLs with a leading dot (.) in the
domain. (#5414)
* Requests support for Python 2.7 and 3.6 will be ending in 2022. While we
don't have exact dates, Requests 2.27.x is likely to be the last release
series providing support.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=156
- Correct {Build,}Requires for charset_normalizer.
- Add trustme to BuildRequires for the test suite.
- update to 2.26.0:
- `Session.send` now correctly resolves proxy configurations from both
the Session and Request. Behavior now matches `Session.request`. (#5681)
- Fixed a race condition in zip extraction when using Requests in parallel
from zip archive. (#5707)
- Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3
to remove license ambiguity for projects bundling requests.
- Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to
be used on Python 2 installations. (#5711)
- The `requests[security]` extra has been converted to a no-op install.
PyOpenSSL is no longer the recommended secure option for Requests. (#5867)
- Requests has officially dropped support for Python 3.5. (#5867)
- drop 5711.patch: upstream
OBS-URL: https://build.opensuse.org/request/show/928315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=71
- `Session.send` now correctly resolves proxy configurations from both
the Session and Request. Behavior now matches `Session.request`. (#5681)
- Fixed a race condition in zip extraction when using Requests in parallel
from zip archive. (#5707)
- Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3
to remove license ambiguity for projects bundling requests.
- Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to
be used on Python 2 installations. (#5711)
- The `requests[security]` extra has been converted to a no-op install.
PyOpenSSL is no longer the recommended secure option for Requests. (#5867)
- Requests has officially dropped support for Python 3.5. (#5867)
- drop 5711.patch: upstream
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=154
- remove patch pr_5251-pytest5.patch, not needed anymore.
- update to version 2.24.0:
- pyOpenSSL TLS implementation is now only used if Python
either doesn't have an `ssl` module or doesn't support
SNI. Previously pyOpenSSL was unconditionally used if available.
This applies even if pyOpenSSL is installed via the
`requests[security]` extra (#5443)
- Redirect resolution should now only occur when
`allow_redirects` is True. (#5492)
- No longer perform unnecessary Content-Length calculation for
requests that won't use it. (#5496)
OBS-URL: https://build.opensuse.org/request/show/822499
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=142
- restored Name section that got messed up by spec-cleaner
- specfile:
* remove devel for noarch
* remove restriction for urllib3 < 1.24
* HISTORY and README changed from .rst to .md
- update to version 2.20.0:
* Bugfixes
+ Content-Type header parsing is now case-insensitive
(e.g. charset=utf8 v Charset=utf8).
+ Fixed exception leak where certain redirect urls would raise
uncaught urllib3 exceptions.
+ Requests removes Authorization header from requests redirected
from https to http on the same hostname. (CVE-2018-18074)
+ should_bypass_proxies now handles URIs without hostnames
(e.g. files).
* Dependencies
+ Requests now supports urllib3 v1.24.
* Deprecations
+ Requests has officially stopped support for Python 2.6.
OBS-URL: https://build.opensuse.org/request/show/645391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=112
- make multibuild package to resolve circular deps on tests
- make multibuild package to resolve circular deps on tests
- update to version 2.19.1:
* Fixed issue where status_codes.py’s init function failed trying
to append to a __doc__ value of None.
- update to version 2.19.0:
* Improvements
+ Warn about possible slowdown with cryptography version < 1.3.4
+ Check host in proxy URL, before forwarding request to adapter.
+ Maintain fragments properly across redirects. (RFC7231 7.1.2)
+ Removed use of cgi module to expedite library load time.
+ Added support for SHA-256 and SHA-512 digest auth algorithms.
+ Minor performance improvement to Request.content.
+ Migrate to using collections.abc for 3.7 compatibility.
* Bugfixes
+ Parsing empty Link headers with parse_header_links() no longer
return one bogus entry.
+ Fixed issue where loading the default certificate bundle from
a zip archive would raise an IOError.
+ Fixed issue with unexpected ImportError on windows system
which do not support winreg module.
+ DNS resolution in proxy bypass no longer includes the username
and password in the request. This also fixes the issue of DNS
queries failing on macOS.
+ Properly normalize adapter prefixes for url comparison.
+ Passing None as a file pointer to the files param no longer
raises an exception.
OBS-URL: https://build.opensuse.org/request/show/623059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=109
- update to version 2.19.1:
* Fixed issue where status_codes.py’s init function failed trying
to append to a __doc__ value of None.
- update to version 2.19.0:
* Improvements
+ Warn about possible slowdown with cryptography version < 1.3.4
+ Check host in proxy URL, before forwarding request to adapter.
+ Maintain fragments properly across redirects. (RFC7231 7.1.2)
+ Removed use of cgi module to expedite library load time.
+ Added support for SHA-256 and SHA-512 digest auth algorithms.
+ Minor performance improvement to Request.content.
+ Migrate to using collections.abc for 3.7 compatibility.
* Bugfixes
+ Parsing empty Link headers with parse_header_links() no longer
return one bogus entry.
+ Fixed issue where loading the default certificate bundle from
a zip archive would raise an IOError.
+ Fixed issue with unexpected ImportError on windows system
which do not support winreg module.
+ DNS resolution in proxy bypass no longer includes the username
and password in the request. This also fixes the issue of DNS
queries failing on macOS.
+ Properly normalize adapter prefixes for url comparison.
+ Passing None as a file pointer to the files param no longer
raises an exception.
+ Calling copy on a RequestsCookieJar will now preserve the
cookie policy correctly.
* We now support idna v2.7 and urllib3 v1.23.
- Properly set idna/urllib3 dependency versions, runtime and buildtime
- Spec cleanup, remove conditionals for ancient distro versions
- Remove duplicates with fdupes
OBS-URL: https://build.opensuse.org/request/show/620316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=108
update to version v2.18.1
* 2.17.1
* Fix a typo: verison -> version
* fix
* Prepare v2.18.0
* Update requirements.txt
* cleanup models.py
* Preserve identity of unbundled deps
* ignore undefined names in flake8
* flake8 ignore lambda expressions
* Add the pytest .cache/ directory to .gitignore
* docutils
* try junit
* new installation location
* cleanup utils.py
* flake8report.txt
* empty commit
* no more pipenv
* Begin dev section of README
* Remove exec permission from files that shouldn't have it
* change development philosophy docs to reflect reality
* fix manifest file
* only flake8 the right directory
* update development documentation
* Remove session redirect cache
* no piping to a file
* Catch error if multiprocessing is not available or is unable to determine the number of CPUs
* todo
* cleanup sessions.py
* typo
OBS-URL: https://build.opensuse.org/request/show/507789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=103
update to version v2.12.4
* Python 2 compatibility
* adding tests for super_len conditional flow
* Check in updated idna.
* Test case for requests getting stuck on post redirect with seekable stream
* v2.12.2
* added new test, original test restored
* Make Response.content return None if raw is None
* adding unicode_is_ascii utility function
* Update sidebarlogo.html
* Fixed another scheme proxy over "all" priority
* Add changelog for 1.19.1
* changed behavior of basic-http-auth test
* correct backtick formatting
* Note @jeremycline is now our contact.
* Order of type check
* Add prepared request pickling tests
* adding comment
* Add deprecation warnings for 3.0
* clarify that the `chunk_size` is optional when streaming to a file
* adding ISO-8859-1 fallback for reason decoding
* fixed some error
* pysocks 1.5.7 blacklisting, due to IPv6 problems
* Fix tests for new urllib3 exception text.
* make add_dict_to_cookiejar cookielib.CookieJar compatible
* correct module for cookiejar_from_dict in docs
* converting update call to merge_cookies call for cookielib compatibility
* streaming doc clarification
* removing redundant logic from prepare_content_length
* Update certifi certs to 2016.09.26
OBS-URL: https://build.opensuse.org/request/show/447958
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=94
update to version v2.11.1
* Update urllib3 to 1.16
* Close and then release the connection
* Added tests for should_bypass_proxies function
* Update documentation of Session.max_redirects
* Document bunch of return types
* Update HISTORY.rst
* Cleaning up comment on JSON encoding to be more strictly relevant.
* Oh yeah, we updated urllib3 too.
* Fixing test; it was accomplishing the right thing, but doing it in the wrong way.
* compensate for lack of taste
* Use xfail marker for a test expected to fail without Internet connection
* in python3.x not have StringIO
* Spelling fixes
* adding in slice_length fix and test for chunk_size=None (#3370)
* Support responses like `HTTP/1.1 404 Unicode chars` (#3385)
* Document header ordering. (#3295)
* Add section on SOCKS proxies.
* Update list of supported Python versions in todo.rst
* removing Content-Type and Transfer-Encoding headers on redirect
* check and test for headers containing return characters or leading whitespace
* Clarify Python versions supported by requests
* Allow graceful interruption of testserver.Server
* reverting 3362
* fixed date formatting
* Make BaseAdapter describe the mandatory adapter interface (#3216)
* Note how HTTPErrors are raised
* Removing charset from JSON content type; tightening requirements on .encode()
* Add 'all' proxy selection to select_proxy
* Fix TypeError when get json-encoded content of a response
OBS-URL: https://build.opensuse.org/request/show/424147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=93
- update to 2.10.1:
* SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
* Updated bundled urllib3 to 1.15.1.
* Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
as its underlying datastore.
* 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.
OBS-URL: https://build.opensuse.org/request/show/400255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=33
- update to 2.10.1:
* SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
* Updated bundled urllib3 to 1.15.1.
* Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
as its underlying datastore.
* 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.
OBS-URL: https://build.opensuse.org/request/show/400255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=33
* SOCKS Proxy Support! (requires PySocks; $ pip install requests[socks])
* Updated bundled urllib3 to 1.15.1.
* Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
as its underlying datastore.
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=89
- update to 2.8.1:
- 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.
- remove requests-do-not-use-bundle.patch (bsc#947357)
- fix requires
OBS-URL: https://build.opensuse.org/request/show/340326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=29
- update to 2.8.1:
- 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.
- remove requests-do-not-use-bundle.patch (bsc#947357)
- fix requires
OBS-URL: https://build.opensuse.org/request/show/340326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=29
- 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=81
- Update to 2.6.0:
- 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.
- 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.
- Revert changes to our vendored certificate bundle. For more context see
(#2455, #2456, and http://bugs.python.org/issue23476)
OBS-URL: https://build.opensuse.org/request/show/298170
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=55
- Update tarball to the one upstream is publishing.
- Update to version 2.3.0
+ New ``Response`` property ``is_redirect``, which is true when the
library could have processed this response as a redirection (whether
or not it actually did).
+ The ``timeout`` parameter now affects requests with both ``stream=True``
and ``stream=False`` equally.
+ The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
Proxy schemes now default to ``http://``.
+ The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
dictionary when references as string or viewd in the interpreter.
+ No longer expose Authorization or Proxy-Authorization headers on redirect.
Fix CVE-2014-1829 and CVE-2014-1830 respectively.
+ Authorization is re-evaluated each redirect.
+ On redirect, pass url as native strings.
+ Fall-back to autodetected encoding for JSON when Unicode detection fails.
+ Headers set to ``None`` on the ``Session`` are now correctly not sent.
+ Correctly honor ``decode_unicode`` even if it wasn't used earlier in the
same response.
+ Stop advertising ``compress`` as a supported Content-Encoding.
+ The ``Response.history`` parameter is now always a list.
+ Many, many ``urllib3`` bugfixes.- Fixes incorrect parsing of proxy
credentials that contain a literal or encoded '#' character.
+ Assorted urllib3 fixes.
+ New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
``DecodeError`` exceptions.
+ Avoid many many exceptions from the buggy implementation of
``proxy_bypass`` on OS X in Python 2.6.
+ Avoid crashing when attempting to get authentication credentials
OBS-URL: https://build.opensuse.org/request/show/237323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=18
- Update tarball to the one upstream is publishing.
- Update to version 2.3.0
+ New ``Response`` property ``is_redirect``, which is true when the
library could have processed this response as a redirection (whether
or not it actually did).
+ The ``timeout`` parameter now affects requests with both ``stream=True``
and ``stream=False`` equally.
+ The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
Proxy schemes now default to ``http://``.
+ The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
dictionary when references as string or viewd in the interpreter.
+ No longer expose Authorization or Proxy-Authorization headers on redirect.
Fix CVE-2014-1829 and CVE-2014-1830 respectively.
+ Authorization is re-evaluated each redirect.
+ On redirect, pass url as native strings.
+ Fall-back to autodetected encoding for JSON when Unicode detection fails.
+ Headers set to ``None`` on the ``Session`` are now correctly not sent.
+ Correctly honor ``decode_unicode`` even if it wasn't used earlier in the
same response.
+ Stop advertising ``compress`` as a supported Content-Encoding.
+ The ``Response.history`` parameter is now always a list.
+ Many, many ``urllib3`` bugfixes.- Fixes incorrect parsing of proxy
credentials that contain a literal or encoded '#' character.
+ Assorted urllib3 fixes.
+ New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
``DecodeError`` exceptions.
+ Avoid many many exceptions from the buggy implementation of
``proxy_bypass`` on OS X in Python 2.6.
+ Avoid crashing when attempting to get authentication credentials
OBS-URL: https://build.opensuse.org/request/show/237323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=18
- Update to version 2.3.0
+ New ``Response`` property ``is_redirect``, which is true when the
library could have processed this response as a redirection (whether
or not it actually did).
+ The ``timeout`` parameter now affects requests with both ``stream=True``
and ``stream=False`` equally.
+ The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
Proxy schemes now default to ``http://``.
+ The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
dictionary when references as string or viewd in the interpreter.
+ No longer expose Authorization or Proxy-Authorization headers on redirect.
Fix CVE-2014-1829 and CVE-2014-1830 respectively.
+ Authorization is re-evaluated each redirect.
+ On redirect, pass url as native strings.
+ Fall-back to autodetected encoding for JSON when Unicode detection fails.
+ Headers set to ``None`` on the ``Session`` are now correctly not sent.
+ Correctly honor ``decode_unicode`` even if it wasn't used earlier in the
same response.
+ Stop advertising ``compress`` as a supported Content-Encoding.
+ The ``Response.history`` parameter is now always a list.
+ Many, many ``urllib3`` bugfixes.- Fixes incorrect parsing of proxy
credentials that contain a literal or encoded '#' character.
+ Assorted urllib3 fixes.
+ New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
``DecodeError`` exceptions.
+ Avoid many many exceptions from the buggy implementation of
``proxy_bypass`` on OS X in Python 2.6.
+ Avoid crashing when attempting to get authentication credentials
from ~/.netrc when running as a user without a home directory.
+ Use the correct pool size for pools of connections to proxies.
OBS-URL: https://build.opensuse.org/request/show/236416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=46
- update to 2.0.1
- changes in 2.0.1:
- Updated included CA Bundle with new mistrusts and automated process for the future
- Added MD5-sess to Digest Auth
- Accept per-file headers in multipart file POST messages.
- Fixed: Don't send the full URL on CONNECT messages.
- Fixed: Correctly lowercase a redirect scheme.
- Fixed: Cookies not persisted when set via functional API.
- Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
- Updated internal urllib3 and chardet.
- changes in 2.0.0:
- Keys in the Headers dictionary are now native strings on all Python versions,
i.e. bytestrings on Python 2, unicode on Python 3.
- Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
will be raised if they don't.
- Timeouts now apply to read time if ``Stream=False``.
- ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
- Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
- Added new method to ``Session`` objects: ``Session.update_request()``. This
method updates a ``Request`` object with the data (e.g. cookies) stored on
the ``Session``.
- Added new method to ``Session`` objects: ``Session.prepare_request()``. This
method updates and prepares a ``Request`` object, and returns the
corresponding ``PreparedRequest`` object.
- Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
This should not be called directly, but improves the subclass interface.
- ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
will now raise a Requests ``ChunkedEncodingError`` instead.
- Invalid percent-escape sequences now cause a Requests ``InvalidURL``
exception to be raised. (forwarded request 206076 from Nijel)
OBS-URL: https://build.opensuse.org/request/show/206124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=16
- update to 2.0.1
- changes in 2.0.1:
- Updated included CA Bundle with new mistrusts and automated process for the future
- Added MD5-sess to Digest Auth
- Accept per-file headers in multipart file POST messages.
- Fixed: Don't send the full URL on CONNECT messages.
- Fixed: Correctly lowercase a redirect scheme.
- Fixed: Cookies not persisted when set via functional API.
- Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
- Updated internal urllib3 and chardet.
- changes in 2.0.0:
- Keys in the Headers dictionary are now native strings on all Python versions,
i.e. bytestrings on Python 2, unicode on Python 3.
- Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
will be raised if they don't.
- Timeouts now apply to read time if ``Stream=False``.
- ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
- Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
- Added new method to ``Session`` objects: ``Session.update_request()``. This
method updates a ``Request`` object with the data (e.g. cookies) stored on
the ``Session``.
- Added new method to ``Session`` objects: ``Session.prepare_request()``. This
method updates and prepares a ``Request`` object, and returns the
corresponding ``PreparedRequest`` object.
- Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
This should not be called directly, but improves the subclass interface.
- ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
will now raise a Requests ``ChunkedEncodingError`` instead.
- Invalid percent-escape sequences now cause a Requests ``InvalidURL``
exception to be raised. (forwarded request 206076 from Nijel)
OBS-URL: https://build.opensuse.org/request/show/206124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=16
- update to 2.0.1
- changes in 2.0.1:
- Updated included CA Bundle with new mistrusts and automated process for the future
- Added MD5-sess to Digest Auth
- Accept per-file headers in multipart file POST messages.
- Fixed: Don't send the full URL on CONNECT messages.
- Fixed: Correctly lowercase a redirect scheme.
- Fixed: Cookies not persisted when set via functional API.
- Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
- Updated internal urllib3 and chardet.
- changes in 2.0.0:
- Keys in the Headers dictionary are now native strings on all Python versions,
i.e. bytestrings on Python 2, unicode on Python 3.
- Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
will be raised if they don't.
- Timeouts now apply to read time if ``Stream=False``.
- ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
- Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
- Added new method to ``Session`` objects: ``Session.update_request()``. This
method updates a ``Request`` object with the data (e.g. cookies) stored on
the ``Session``.
- Added new method to ``Session`` objects: ``Session.prepare_request()``. This
method updates and prepares a ``Request`` object, and returns the
corresponding ``PreparedRequest`` object.
- Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
This should not be called directly, but improves the subclass interface.
- ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
will now raise a Requests ``ChunkedEncodingError`` instead.
- Invalid percent-escape sequences now cause a Requests ``InvalidURL``
exception to be raised.
OBS-URL: https://build.opensuse.org/request/show/206076
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=42
- update to 1.2.0:
* Fixed cookies on sessions and on requests
* Significantly change how hooks are dispatched - hooks now receive all the
arguments specified by the user when making a request so hooks can make a
secondary request with the same parameters. This is especially necessary for
authentication handler authors
* certifi support was removed
* Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
* Major proxy work thanks to @Lukasa including parsing of proxy authentication
from the proxy url
* Fix DigestAuth handling too many 401s
* Update vendored urllib3 to include SSL bug fixes
* Allow keyword arguments to be passed to ``json.loads()`` via the
``Response.json()`` method
* Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
requests
* Add ``elapsed`` attribute to ``Response`` objects to time how long a request
took.
* Fix ``RequestsCookieJar``
* Sessions and Adapters are now picklable, i.e., can be used with the
mutiprocessing library
Update charade to version 1.0.3
- update to 1.2.0:
* Fixed cookies on sessions and on requests
* Significantly change how hooks are dispatched - hooks now receive all the
arguments specified by the user when making a request so hooks can make a
secondary request with the same parameters. This is especially necessary for
authentication handler authors
* certifi support was removed (forwarded request 175233 from dirkmueller)
OBS-URL: https://build.opensuse.org/request/show/175242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=10
- update to 1.2.0:
* Fixed cookies on sessions and on requests
* Significantly change how hooks are dispatched - hooks now receive all the
arguments specified by the user when making a request so hooks can make a
secondary request with the same parameters. This is especially necessary for
authentication handler authors
* certifi support was removed
* Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
* Major proxy work thanks to @Lukasa including parsing of proxy authentication
from the proxy url
* Fix DigestAuth handling too many 401s
* Update vendored urllib3 to include SSL bug fixes
* Allow keyword arguments to be passed to ``json.loads()`` via the
``Response.json()`` method
* Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
requests
* Add ``elapsed`` attribute to ``Response`` objects to time how long a request
took.
* Fix ``RequestsCookieJar``
* Sessions and Adapters are now picklable, i.e., can be used with the
mutiprocessing library
Update charade to version 1.0.3
- update to 1.2.0:
* Fixed cookies on sessions and on requests
* Significantly change how hooks are dispatched - hooks now receive all the
arguments specified by the user when making a request so hooks can make a
secondary request with the same parameters. This is especially necessary for
authentication handler authors
* certifi support was removed (forwarded request 175233 from dirkmueller)
OBS-URL: https://build.opensuse.org/request/show/175242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=10
- update to 1.2.0:
* Fixed cookies on sessions and on requests
* Significantly change how hooks are dispatched - hooks now receive all the
arguments specified by the user when making a request so hooks can make a
secondary request with the same parameters. This is especially necessary for
authentication handler authors
* certifi support was removed
* Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
* Major proxy work thanks to @Lukasa including parsing of proxy authentication
from the proxy url
* Fix DigestAuth handling too many 401s
* Update vendored urllib3 to include SSL bug fixes
* Allow keyword arguments to be passed to ``json.loads()`` via the
``Response.json()`` method
* Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
requests
* Add ``elapsed`` attribute to ``Response`` objects to time how long a request
took.
* Fix ``RequestsCookieJar``
* Sessions and Adapters are now picklable, i.e., can be used with the
mutiprocessing library
Update charade to version 1.0.3
- update to 1.2.0:
* Fixed cookies on sessions and on requests
* Significantly change how hooks are dispatched - hooks now receive all the
arguments specified by the user when making a request so hooks can make a
secondary request with the same parameters. This is especially necessary for
authentication handler authors
* certifi support was removed
OBS-URL: https://build.opensuse.org/request/show/175233
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=32
- Use a slightly different approach for bnc#761500, try to use /etc/ssl/certs
but use /etc/ssl/ca-bundle.pem as a fallback. The previous fix didn't work
for me as (my) Python ssl module doesn't support cert directories...
- No need to check SUSE versions for python-certifi, it only is/was
part of openSUSE:Factory for a brief period of time
- Load directory-based cert store in openSUSE >= 12.2
- Update to 0.12.1
* New Response.json property
* Ability to add string file uploads
* Fix out-of-range issue with iter_lines
* Fix iter_content default size
* Fix POST redirects containing files
- 0.12.0 (2012-05-02)
* EXPERIMENTAL OAUTH SUPPORT!
* Proper CookieJar-backed cookies interface with awesome dict-like interface.
* Speed fix for non-iterated content chunks.
* Move pre_request to a more usable place.
* New pre_send hook.
* Lazily encode data, params, files
* Load system Certificate Bundle if certify isn't available.
* Cleanups, fixes.
- Add python-chardet and python-oauthlib requirements
- Run test suite (added python-distribute build requirement to enable)
OBS-URL: https://build.opensuse.org/request/show/121921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=3
- Use a slightly different approach for bnc#761500, try to use /etc/ssl/certs
but use /etc/ssl/ca-bundle.pem as a fallback. The previous fix didn't work
for me as (my) Python ssl module doesn't support cert directories...
- No need to check SUSE versions for python-certifi, it only is/was
part of openSUSE:Factory for a brief period of time
- Load directory-based cert store in openSUSE >= 12.2
- Update to 0.12.1
* New Response.json property
* Ability to add string file uploads
* Fix out-of-range issue with iter_lines
* Fix iter_content default size
* Fix POST redirects containing files
- 0.12.0 (2012-05-02)
* EXPERIMENTAL OAUTH SUPPORT!
* Proper CookieJar-backed cookies interface with awesome dict-like interface.
* Speed fix for non-iterated content chunks.
* Move pre_request to a more usable place.
* New pre_send hook.
* Lazily encode data, params, files
* Load system Certificate Bundle if certify isn't available.
* Cleanups, fixes.
- Add python-chardet and python-oauthlib requirements
- Run test suite (added python-distribute build requirement to enable)
OBS-URL: https://build.opensuse.org/request/show/121921
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=3
+ Removal of Requests.async in favor of grequests
+ Allow disabling of cookie persistiance.
+ New implimentation of safe_mode
+ cookies.get now supports default argument
+ Session cookies not saved when Session.request is called with return_response=False
+ Env: no_proxy support.
+ RequestsCookieJar improvements.
+ Various bug fixes.
- Rebased patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=21
* Attempt to use the OS's certificate bundle if certifi isn't available.
* Infinite digest auth redirect fix
* Multi-part file upload improvements
* Fix decoding of invalid %encodings in URLs
* If there is no content in a response don't throw an error the second time
that content is attempted to be read.
* Upload data on redirects.
- Update to 0.11.1:
* POST redirects now break RFC to do what browsers do: Follow up with a GET.
* New strict_mode configuration to disable new redirect behavior.
- 0.11.0 (2012-03-14)
* Private SSL Certificate support
* Remove select.poll from Gevent monkeypatching
* Remove redundant generator for chunked transfer encoding
* Fix: Response.ok raises Timeout Exception in safe_mode
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=15
* PYTHON 3 SUPPORT!
* Dropped 2.5 Support. (Backwards Incompatible)
- 0.10.0 (2012-01-21)
* Response.content is now bytes-only. (Backwards Incompatible)
* New Response.text is unicode-only.
* If no Response.encoding is specified and chardet is available,
Respoonse.text will guess an encoding.
* Default to ISO-8859-1 (Western) encoding for "text" subtypes.
* Removal of decode_unicode. (Backwards Incompatible)
* New multiple-hooks system.
* New Response.register_hook for registering hooks within the pipeline.
* Response.url is now Unicode.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=9
* Converted auth system to use simpler callable objects.
* New session parameter to API methods.
* Display full URL while logging.
-+-This line, and those below, will be ignored--
M python-requests.changes
M python-requests.spec
D requests-0.8.2.tar.gz
A requests-0.8.3.tar.gz
Diff for working copy: .
Index: python-requests.changes
===================================================================
--- python-requests.changes (revision 4)
+++ python-requests.changes (working copy)
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Sun Nov 27 20:38:47 UTC 2011 - jfunk@funktronics.ca
+
+- Update to 0.8.3
+ * Converted auth system to use simpler callable objects.
+ * New session parameter to API methods.
+ * Display full URL while logging.
+
-------------------------------------------------------------------
Sun Nov 27 08:54:32 UTC 2011 - jfunk@funktronics.ca
Index: python-requests.spec
===================================================================
--- python-requests.spec (revision 4)
+++ python-requests.spec (working copy)
@@ -18,7 +18,7 @@
Name: python-requests
-Version: 0.8.2
+Version: 0.8.3
Release: 0
Url: http://python-requests.org
Summary: Awesome Python HTTP Library That's Actually Usable
Index: requests-0.8.3.tar.gz
===================================================================
Binary file 'requests-0.8.3.tar.gz' added.
Index: requests-0.8.2.tar.gz
===================================================================
Binary file 'requests-0.8.2.tar.gz' deleted.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=5
* Enhanced status codes experience ``\o/``
* Set a maximum number of redirects (``settings.max_redirects``)
* Full Unicode URL support
* Support for protocol-less redirects.
* Allow for arbitrary request types.
* Bugfixes
- Changes from version 0.6.0:
* New callback hook system
* New persistient sessions object and context manager
* Transparent Dict-cookie handling
* Status code reference object
* Removed Response.cached
* Added Response.request
* All args are kwargs
* Relative redirect support
* HTTPError handling improvements
* Improved https testing
* Bugfixes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=3
- PATCH Support
- Support for Proxies
- HTTPBin Test Suite
- Redirect Fixes
- settings.verbose stream writing
- Querystrings for all methods
- URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as
explicity raised r.requests.get('hwe://blah'); r.raise_for_status()
- 0.4.1 (2011-05-22)
- Improved Redirection Handling
- New 'allow_redirects' param for following non-GET/HEAD Redirects
- Settings module refactoring
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=2
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.