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

Method on_update

src/werkzeug/sansio/response.py:320–321  ·  view source on GitHub ↗
(d: CallbackDict[str, str])

Source from the content-addressed store, hash-verified

318 """
319
320 def on_update(d: CallbackDict[str, str]) -> None:
321 self.headers["Content-Type"] = dump_options_header(self.mimetype, d)
322
323 d = parse_options_header(self.headers.get("content-type", ""))[1]
324 return CallbackDict(d, on_update)

Callers 10

__set__Method · 0.45
setMethod · 0.45
wrapperFunction · 0.45
setdefaultMethod · 0.45
popMethod · 0.45
removeMethod · 0.45
updateMethod · 0.45
clearMethod · 0.45
__delitem__Method · 0.45
__setitem__Method · 0.45

Calls 2

dump_options_headerFunction · 0.85
to_headerMethod · 0.45

Tested by

no test coverage detected