Cherrypy

Latest version: v18.10.0

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 15

13.1.0

-------

* :issue:`1231` via :pr:`1654`: CaseInsensitiveDict now re-uses the
generalized functionality from ``jaraco.collections`` to
provide a more complete interface for a CaseInsensitiveDict
and HeaderMap.

Users are encouraged to use the implementation from
`jaraco.collections <https://pypi.org/project/jaraco.collections>`_
except when dealing with headers in CherryPy.

13.0.1

-------

* :pr:`1671`: Restore support for installing CherryPy into
environments hostile to namespace packages, broken since
the 11.1.0 release.

13.0.0

-------

* :issue:`1666`: Drop support for Python 3.3.

12.0.2

-------

* :issue:`1665`: In request processing, when an invalid cookie is
received, render the actual error message reported rather
than guessing (sometimes incorrectly) what error occurred.

12.0.1

-------

* Fixed issues importing :py:mod:`cherrypy.test.webtest` (by creating
a module and importing classes from :py:mod:`cheroot`) and added a
corresponding :py:class:`DeprecationWarning`.

12.0.0

-------

* Drop support for Python 3.1 and 3.2.

* :issue:`1625`: Removed response timeout and timeout monitor and
related exceptions, as it not possible to interrupt a request.
Servers that wish to exit a request prematurely are
recommended to monitor ``response.time`` and raise an
exception or otherwise act accordingly.

Servers that previously disabled timeouts by invoking
``cherrypy.engine.timeout_monitor.unsubscribe()`` will now
crash. For forward-compatibility with this release on older
versions of CherryPy, disable
timeouts using the config option::

'engine.timeout_monitor.on': False,

Or test for the presence of the timeout_monitor attribute::

with contextlib2.suppress(AttributeError):
cherrypy.engine.timeout_monitor.unsubscribe()

Additionally, the ``TimeoutError`` exception has been removed,
as it's no longer called anywhere. If your application
benefits from this Exception, please comment in the linked
ticket describing the use case, and we'll help devise a
solution or bring the exception back.

Page 6 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.