mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 18:57:22 +00:00
6 lines
157 B
Python
Executable file
6 lines
157 B
Python
Executable file
#!/usr/bin/env python
|
|
from libmproxy import script
|
|
|
|
def response(ctx, f):
|
|
ctx.log("processing a response")
|
|
f.response.headers["newheader"] = ["foo"]
|