mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-12-02 12:01:17 +00:00
7 lines
157 B
Python
Executable File
7 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"]
|