MCPcopy
hub / github.com/mitmproxy/mitmproxy / put

Method put

mitmproxy/tools/web/app.py:807–812  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

805 self.write(optmanager.dump_dicts(self.master.options))
806
807 def put(self):
808 update = self.json
809 try:
810 self.master.options.update(**update)
811 except Exception as err:
812 raise APIError(400, f"{err}")
813
814
815class SaveOptions(RequestHandler):

Callers 15

LeFunction · 0.45
DcFunction · 0.45
KcFunction · 0.45
RBFunction · 0.45
ABFunction · 0.45
$BFunction · 0.45
MBFunction · 0.45
DFunction · 0.45
__init__Method · 0.45
JxFunction · 0.45
responseMethod · 0.45
errorMethod · 0.45

Calls 2

APIErrorClass · 0.85
updateMethod · 0.45

Tested by

no test coverage detected