LibraryActive

mitmproxy.http

Python module providing HTTP classes for mitmproxy, including Headers, Request, Response, and flow data structures.

Open source page

Field note

What it does

Python module with HTTP-specific classes for mitmproxy, such as Headers, Request, Response, and flow data structures, enabling manipulation and inspection of HTTP traffic.

Capabilities

Available capabilities

No use cases filed yet.

Tags

Tags

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

Cookie support

Provides get_all for Set-Cookie and Cookie headers to avoid folding.

Header folding

Multiple headers with same name are folded into comma-separated value per RFC 7230.

Headers class

Case-insensitive header container with folding and raw byte field access.

MultiDict base

Inherits from multidict.MultiDict providing dictionary-like interface.

Raw field access

Access underlying raw header fields as byte tuples.