示例#1
0
 def GET_promohealth(self):
     response.headers['Content-Type'] = 'text/plain'
     return json.dumps(promote.health_check())
示例#2
0
文件: health.py 项目: wqx081/reddit
 def GET_promohealth(self):
     response.content_type = "application/json"
     return json.dumps(promote.health_check())
示例#3
0
 def GET_promohealth(self):
     response.headers['Content-Type'] = 'text/plain'
     return json.dumps(promote.health_check())