mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-01-12 22:48:54 +08:00
6 lines
119 B
Python
6 lines
119 B
Python
from mitmproxy import http
|
|
|
|
|
|
def response(flow: http.HTTPFlow) -> None:
|
|
flow.response.headers["newheader"] = "foo"
|