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

Method put

hug/routing.py:537–541  ·  view source on GitHub ↗

Sets the acceptable HTTP method to PUT

(self, urls=None, **overrides)

Source from the content-addressed store, hash-verified

535 return self.where(accept="POST", **overrides)
536
537 def put(self, urls=None, **overrides):
538 """Sets the acceptable HTTP method to PUT"""
539 if urls is not None:
540 overrides["urls"] = urls
541 return self.where(accept="PUT", **overrides)
542
543 def trace(self, urls=None, **overrides):
544 """Sets the acceptable HTTP method to TRACE"""

Callers

nothing calls this directly

Calls 1

whereMethod · 0.95

Tested by

no test coverage detected