MCPcopy
hub / github.com/pallets/werkzeug / on_update

Method on_update

src/werkzeug/test.py:509–510  ·  view source on GitHub ↗
(d: CallbackDict[str, str])

Source from the content-addressed store, hash-verified

507 """
508
509 def on_update(d: CallbackDict[str, str]) -> None:
510 self.headers["Content-Type"] = dump_options_header(self.mimetype, d)
511
512 d = parse_options_header(self.headers.get("content-type", ""))[1]
513 return CallbackDict(d, on_update)

Callers

nothing calls this directly

Calls 1

dump_options_headerFunction · 0.85

Tested by

no test coverage detected