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

Method options

src/werkzeug/test.py:1184–1187  ·  view source on GitHub ↗

Call :meth:`open` with ``method`` set to ``OPTIONS``.

(self, *args: t.Any, **kw: t.Any)

Source from the content-addressed store, hash-verified

1182 return self.open(*args, **kw)
1183
1184 def options(self, *args: t.Any, **kw: t.Any) -> TestResponse:
1185 """Call :meth:`open` with ``method`` set to ``OPTIONS``."""
1186 kw["method"] = "OPTIONS"
1187 return self.open(*args, **kw)
1188
1189 def head(self, *args: t.Any, **kw: t.Any) -> TestResponse:
1190 """Call :meth:`open` with ``method`` set to ``HEAD``."""

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected