# # methods = [name for name in list(vars(cls)) if callable(getattr(cls, name))]
# # return '', 200, {'Allow': ','.join([
# # method.upper()
# # for method in methods
# # if method[0] != '_' and (method not in dir(RestHttpResponse) or method == 'options') and callable(RestHttpResponse, method)
# # ])}
# return '', 200, {'Allow': ','.join([method.upper() for method in dir(self) if method[0] != '_' and method in ['get', 'post', 'put', 'delete', 'options']])}