def DELETE(func, url=None, host=None, port=None, redirect=False, **headers): routing.Route(func, url, 'DELETE', host, port, redirect, headers) return func
def __call__(func, url=None, host=None, port=None, redirect=False, **headers): routing.Route(func, url, None, host, port, redirect, headers) return func
def PUT(func, url=None, host=None, port=None, redirect=False, **headers): routing.Route(func, url, 'PUT', host, port, redirect, headers) return func