MCPcopy
hub / github.com/encode/starlette / add_vary_header

Method add_vary_header

starlette/datastructures.py:657–661  ·  view source on GitHub ↗
(self, vary: str)

Source from the content-addressed store, hash-verified

655 self._list.append((append_key, append_value))
656
657 def add_vary_header(self, vary: str) -> None:
658 existing = self.get("vary")
659 if existing is not None:
660 vary = ", ".join([existing, vary])
661 self["vary"] = vary
662
663
664class State:

Callers 3

send_wrapperMethod · 0.95
send_with_compressionMethod · 0.95
allow_explicit_originMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected