mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
5 lines
119 B
Python
5 lines
119 B
Python
from mitmproxy import http
|
|
|
|
|
|
def response(flow: http.HTTPFlow) -> None:
|
|
flow.response.headers["newheader"] = "foo"
|