MCPcopy Index your code
hub / github.com/hugapi/hug / head

Method head

hug/routing.py:561–565  ·  view source on GitHub ↗

Sets the acceptable HTTP method to HEAD

(self, urls=None, **overrides)

Source from the content-addressed store, hash-verified

559 return self.where(accept="OPTIONS", **overrides)
560
561 def head(self, urls=None, **overrides):
562 """Sets the acceptable HTTP method to HEAD"""
563 if urls is not None:
564 overrides["urls"] = urls
565 return self.where(accept="HEAD", **overrides)
566
567 def connect(self, urls=None, **overrides):
568 """Sets the acceptable HTTP method to CONNECT"""

Callers

nothing calls this directly

Calls 1

whereMethod · 0.95

Tested by

no test coverage detected