MCPcopy
hub / github.com/hugapi/hug / get

Method get

hug/routing.py:519–523  ·  view source on GitHub ↗

Sets the acceptable HTTP method to a GET

(self, urls=None, **overrides)

Source from the content-addressed store, hash-verified

517 return self.where(accept=accept, **overrides)
518
519 def get(self, urls=None, **overrides):
520 """Sets the acceptable HTTP method to a GET"""
521 if urls is not None:
522 overrides["urls"] = urls
523 return self.where(accept="GET", **overrides)
524
525 def delete(self, urls=None, **overrides):
526 """Sets the acceptable HTTP method to DELETE"""

Callers 9

requiresMethod · 0.45
doesnt_requireMethod · 0.45
add_response_headersMethod · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
whereMethod · 0.45

Calls 1

whereMethod · 0.95

Tested by

no test coverage detected