mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-03-27 17:34:55 +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()
|