コード例 #1
0
ファイル: health.py プロジェクト: alexvermeer/reddit
 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())