MCPcopy Create free account
hub / github.com/pallets/quart / head

Method head

src/quart/testing/client.py:232–238  ·  view source on GitHub ↗

Make a HEAD request. See :meth:`~quart.testing.QuartClient.open` for argument details.

(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

230 return await self.open(*args, method="GET", **kwargs)
231
232 async def head(self, *args: Any, **kwargs: Any) -> Response:
233 """Make a HEAD request.
234
235 See :meth:`~quart.testing.QuartClient.open` for argument
236 details.
237 """
238 return await self.open(*args, method="HEAD", **kwargs)
239
240 async def options(self, *args: Any, **kwargs: Any) -> Response:
241 """Make a OPTIONS request.

Callers

nothing calls this directly

Calls 1

openMethod · 0.95

Tested by

no test coverage detected