MCPcopy Create free account
hub / github.com/hugapi/hug / connect

Method connect

hug/routing.py:567–571  ·  view source on GitHub ↗

Sets the acceptable HTTP method to CONNECT

(self, urls=None, **overrides)

Source from the content-addressed store, hash-verified

565 return self.where(accept="HEAD", **overrides)
566
567 def connect(self, urls=None, **overrides):
568 """Sets the acceptable HTTP method to CONNECT"""
569 if urls is not None:
570 overrides["urls"] = urls
571 return self.where(accept="CONNECT", **overrides)
572
573 def call(self, **overrides):
574 """Sets the acceptable HTTP method to all known"""

Callers

nothing calls this directly

Calls 1

whereMethod · 0.95

Tested by

no test coverage detected