Contents

mitmproxy 12.2.1

0

An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.

An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.

Stars: 42109, Watchers: 42109, Forks: 4432, Open Issues: 408

The mitmproxy/mitmproxy repo was created 15 years ago and the last code push was 2 days ago.
The project is extremely popular with a mindblowing 42109 github stars!

How to Install mitmproxy

You can install mitmproxy using pip

pip install mitmproxy

or add it to a project with poetry

poetry add mitmproxy

Package Details

Author
None
License
Copyright (c) 2013, Aldo Cortesi. All rights reserved.
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
    </dd>
Homepage
None
PyPi:
https://pypi.org/project/mitmproxy/
Documentation:
https://docs.mitmproxy.org/stable/
GitHub Repo:
https://github.com/mitmproxy/mitmproxy

Classifiers

  • Internet/Proxy Servers
  • Internet/WWW/HTTP
  • Security
  • Software Development/Testing
  • System/Networking/Monitoring
No  mitmproxy  pypi packages just yet.

Errors

A list of common mitmproxy errors.

Code Examples

Here are some mitmproxy code examples and snippets.

GitHub Issues

The mitmproxy package has 408 open issues on GitHub

  • Add a flag/option that will switch to faster compression for content-encoding
  • Local mode Can't intercapt hotspot’s HTTP requets on windows
  • Add a content view for zip files
  • cURL command with data beginning with - passed using printf doesn't work
  • Fix modify_body crash when replacement contains backslash sequences
  • Flow kill doesn't close the client connection
  • QUIC / HTTP3 breaks on large volume of requests to different hosts
  • Added opt-in “Format” toggle for HttpMessage Copy/Edit + tests
  • Any Idea for PreProcessing the zlib compressed data and then apply like json or css?
  • fix: content encoding inference from meta tag, especially for various unusual format
  • Command panel loses focus due to websocket traffic.
  • Android Magisk module: Add cert to cacerts_google
  • Report Script Errors to the users and exit
  • Bump the pytest group across 1 directory with 3 updates
  • feat(http): allow error hook to override 502 responses

See more issues on GitHub

Related Packages & Articles

hstspreload 2025.1.1

The hstspreload Python package provides a way to interact with the Chromium HSTS preload list, which is a list of sites that are hardcoded to be HTTPS only for enhanced security. This package allows users to check if a host is on this list, indicating that it should only be accessed via HTTPS. It is updated monthly, but can be manually updated if necessary.

httpie 3.2.4

The httpie Python package is a user-friendly command-line HTTP client for the API era. It aims to simplify the interaction with web services from the command line, making it an excellent tool for testing, debugging, and interacting with APIs and HTTP servers. httpie provides a range of features, including expressive syntax, colorized output, built-in JSON support, and the ability to handle forms and file uploads. This package is a key tool in the realm of Web Development and API Testing.

jupyter-server-proxy 4.4.0

A Jupyter server extension to run additional processes and proxy to them that comes bundled JupyterLab extension to launch pre-defined processes.

icecream 2.1.10

Never use print() to debug again: inspect variables, expressions, and program execution with a single, simple function call.

Hypercorn 0.18.0

A ASGI Server based on Hyper libraries and inspired by Gunicorn