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

Class COOP

src/werkzeug/http.py:130–135  ·  view source on GitHub ↗

Cross Origin Opener Policies

Source from the content-addressed store, hash-verified

128
129
130class COOP(Enum):
131 """Cross Origin Opener Policies"""
132
133 UNSAFE_NONE = "unsafe-none"
134 SAME_ORIGIN_ALLOW_POPUPS = "same-origin-allow-popups"
135 SAME_ORIGIN = "same-origin"
136
137
138def quote_header_value(value: t.Any, allow_token: bool = True) -> str:

Callers 1

ResponseClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected