I'm now wondering if I'm missing something. I tried using the regex groups in the webapp.WSGIApplication call, but after a couple of times getting argument/parameter mismatches I gave up on that. I decided that it was much easier and cleaner to do the url path parsing using python regex within the "get/post" functions, and just use the WSGIApplication call for doing the handler selection. Are there best practice / rules for this?
John On Oct 18, 3:54 am, Massimiliano <[email protected]> wrote: > Ok, just to understand everything. > > 2010/10/18 sodso <[email protected]> > > > yes exactly > > > '/(.*)/(.*) > > r'/(.*)/someaction', SomeActionHandler > I need a "r" before the line? > > > > > the content between those two ( ) will be passed to ur RequestHandler as > > second param(string), third param(string), and so on > > The param string as the var name I want, as the system will pass the value. > So I can have > > get(self, var1, var2, var3,....) > > Right? > > > > > so u can do anything with those string params as u want > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-appengine%2Bunsubscrib > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. > > -- > > My email: [email protected] > My Google Wave: [email protected] -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
