mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-01-12 22:48:54 +08:00
8 lines
136 B
Python
8 lines
136 B
Python
class AddHeader:
|
|
def response(self, flow):
|
|
flow.response.headers["newheader"] = "foo"
|
|
|
|
|
|
def start():
|
|
return AddHeader()
|