def head(self, *args: t.Any, **kw: t.Any) -> TestResponse:
        """Call :meth:`open` with ``method`` set to ``HEAD``."""
        kw["method"] = "HEAD"
        return self.open(*args, **kw)
Call :meth:`open` with ``method`` set to ``HEAD``.
src/werkzeug/test.py