Httpolice

Latest version: v0.9.0

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

Scan your dependencies

Page 1 of 3

0.9.0

~~~~~~~~~~~~~~~~~~
- You can now view full reports `directly from mitmproxy`_,
without saving them to a file first.

.. _directly from mitmproxy:
https://mitmproxy-httpolice.readthedocs.io/page/walkthrough.htmlinmemory

0.8.0

~~~~~~~~~~~~~~~~~~
This version is for mitmproxy 4.

0.7.1

~~~~~~~~~~~~~~~~~~
This version adds an explicit requirement for mitmproxy version less than 4.
A new version compatible with mitmproxy 4 and/or higher will be released
eventually, when time permits.

0.7.0

~~~~~~~~~~~~~~~~~~
- Overhaul for mitmproxy 3.

- Now focuses on closer integration with mitmproxy’s interactive features:

- `commands`_ to produce reports on any flows
- `options`_ that can be changed on the fly
- marks on flows with problems
- better display of notices in flow details

- At least for now, the original approach of writing a report
non-interactively (options ``-w``, ``--tail``) is not supported.
You need the ``mitmproxy`` tool, not ``mitmdump`` or ``mitmweb``.

- See `docs`_ for details.

.. _commands: https://docs.mitmproxy.org/stable/concepts-commands/
.. _options: https://docs.mitmproxy.org/stable/concepts-options/

0.6.1

~~~~~~~~~~~~~~~~~~
- Fixed dumping reports to non-seekable files (like ``-w /dev/stdout``).
- Fixed ``--tail`` with small (text) reports.

0.6.0

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

Added
-----
- A new ``--tail`` option to regenerate the report on every new exchange,
so you can inspect traffic as it comes (see `docs`_).

- HTTPolice now writes brief summaries to mitmproxy’s event log, like this::

HTTPolice found 1 errors, 2 comments in: GET /api/v1/ - 200 OK

(The event log is printed to the console when you use ``mitmdump``,
or to the “Event log” pane when you press the ‘e’ key in ``mitmproxy``.)

- In the ``mitmproxy`` console UI, you can now see a brief report
for every individual exchange on its “Detail” pane (see `docs`_).

.. _docs: https://mitmproxy-httpolice.readthedocs.io/

Changed
-------
- The output file is now specified with the ``-w`` option instead of
just a positional argument, for example::

$ mitmdump -s "`python3 -m mitmproxy_httpolice` -w report.txt"

This ``-w`` option is actually *optional*: you can omit it
if you only want to view the reports in the console UI, for example.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.