On Wed, Jul 29, 2009 at 6:52 PM, Malinka Rellikwodahs
<[email protected]>wrote:

>
> On Wed, Jul 29, 2009 at 11:36, Ferran Fontcuberta<[email protected]> wrote:
> >
> > El mié, 29-07-2009 a las 07:54 -0700, Le.Waldman escribió:
> >> urls = (
> >>       '/something', 'getContent',
> >>       '/otherthing', 'getContent',
> >> )
> >>
> >> class getContent:
> >>     def GET(self, string):
> >>       return string
> >
> > Maybe you need something like
> >
> > '/(.*)', 'getContent'
> >
> > in urls, instead
> >
>
> I believe this will do the same thing as above without matching /notinlist
>
> urls = (
>      '/(something)', 'getContent',
>      '/(otherthing)', 'getContent',
> )
>


Just one word:

Thanks

It worked!!!


Why it not werked before?


Leon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to