Httpolice

Latest version: v0.9.0

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

Scan your dependencies

Page 2 of 3

0.5.2

~~~~~~~~~~~~~~~~~~
- Fixed a few rare crashing bugs found with `american fuzzy lop`_.
- Fixed a couple cosmetic bugs in HTML reports.
- When parsing a message with an unknown `transfer coding`_, HTTPolice now
correctly skips any checks on its payload body (such as notice `1038`_).

.. _american fuzzy lop: http://lcamtuf.coredump.cx/afl/
.. _transfer coding: https://tools.ietf.org/html/rfc7230section-4

0.5.1

~~~~~~~~~~~~~~~~~~
Fixed an error that happened on many/most HTTP/2 requests
(those without a Host header).

0.5.0

~~~~~~~~~~~~~~~~~~
- Dropped Python 2 support. If you need it, use the older versions.
- To reduce clutter in failing tests, notice `1070`_ is now silenced
by default (unless you override ``HTTPOLICE_SILENCE``).

.. _1070: https://httpolice.readthedocs.io/page/notices.html1070

0.4.0

~~~~~~~~~~~~~~~~~~

- Supports Django 2.0.
- No longer supports Django prior to 1.11.
- No longer supports old-style ``MIDDLEWARE_CLASSES``.

0.3.0

~~~~~~~~~~~~~~~~~~

- For consistency, the backlog view now shows exchanges in direct order
(that is, the latest exchange is now at the bottom).
- The deprecated form ``HTTPOLICE_RAISE = True`` is no longer supported.
Use ``HTTPOLICE_RAISE = 'error'`` (or ``'comment'``) instead.

0.2.0

~~~~~~~~~~~~~~~~~~
Added
-----
- The middleware is now compatible with new-style (Django 1.10+) ``MIDDLEWARE``
as well as old-style ``MIDDLEWARE_CLASSES``.
- You can now ask the middleware to raise ``ProtocolError``
even on notices of severity "comment"
by setting ``HTTPOLICE_RAISE = 'comment'``.

Deprecated
----------
- Setting ``HTTPOLICE_RAISE = True`` is deprecated
in favor of the new form ``HTTPOLICE_RAISE = 'error'``.
The next release will only support the new form.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.