相信积累的力量

摘要: 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 阅读(314) 评论(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 阅读(487) 评论(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 阅读(423) 评论(0) 推荐(0) 编辑

相信积累的力量