如何访问调用此方法的请求的 http 标头?
class GetDBVersion(webapp2.RequestHandler):
def get(self):
# writes out db version
在 main.py
app = webapp2.WSGIApplication([
('/version', GetDBVersion
# and more methods
如何访问调用此方法的请求的 http 标头?
class GetDBVersion(webapp2.RequestHandler):
def get(self):
# writes out db version
在 main.py
app = webapp2.WSGIApplication([
('/version', GetDBVersion
# and more methods