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

Method delete

hug/routing.py:525–529  ·  view source on GitHub ↗

Sets the acceptable HTTP method to DELETE

(self, urls=None, **overrides)

Source from the content-addressed store, hash-verified

523 return self.where(accept="GET", **overrides)
524
525 def delete(self, urls=None, **overrides):
526 """Sets the acceptable HTTP method to DELETE"""
527 if urls is not None:
528 overrides["urls"] = urls
529 return self.where(accept="DELETE", **overrides)
530
531 def post(self, urls=None, **overrides):
532 """Sets the acceptable HTTP method to POST"""

Callers

nothing calls this directly

Calls 1

whereMethod · 0.95

Tested by

no test coverage detected