def process_web_request(self, request, path, params, fragment):
"""Implements CommandHandler."""
options = dict(get_global_options())
options.update(params)
type_map, processor = self.__do_clear(options)
response_code = (httplib.OK if processor.num_ok == len(type_map)
else httplib.INTERNAL_SERVER_ERROR)
headers, body = processor.make_response(
request, self.accepts_content_type(request, 'text/html'),
'Deleted', 'Cleared Time Series')
request.respond(response_code, headers, body)
stackdriver_handlers.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录