摘要:
http://webapp-improved.appspot.com/guide/request.htmlRequest dataThe request handler instance can access the request data using itsrequestproperty. This is initialized to a populatedWebObRequestobject by the application.The request object provides aget()method that returns values for arguments parse 阅读全文
posted @ 2013-10-14 21:02
ThreeF
阅读(335)
评论(0)
推荐(0)
摘要:
Request handlersIn the webapp2 vocabulary,request handleror simplyhandleris a common term that refers to the callable that contains the application logic to handle a request. This sounds a lot abstract, but we will explain everything in details in this section.Handlers 101A handler is equivalent to 阅读全文
posted @ 2013-10-14 20:35
ThreeF
阅读(511)
评论(0)
推荐(0)
摘要:
http://webapp-improved.appspot.com/guide/testing.htmlURI routingURI routingis the process of taking the requested URI and deciding which application handler will handle the current request. For this, we initialize theWSGIApplicationdefining a list ofroutes: eachrouteanalyses the current request and, 阅读全文
posted @ 2013-10-14 15:29
ThreeF
阅读(435)
评论(0)
推荐(0)

浙公网安备 33010602011771号