On 24/12/11 16:04 +0100, Bertrand Chenal wrote: > Le Fri, 23 Dec 2011 19:10:56 +0100, > Cédric Krier <[email protected]> a écrit : > > > On 23/12/11 18:57 +0100, Albert Cervera i Areny wrote: > > > Sounds pretty good to me. Just one question, probably due to my > > > ignorance, but would this allow to share complete folders? (If not > > > directly but at at least easily?) > > > > Yes as URL matching will be done with startswith. > > Looks like the concept or 'route' that is present in most wsgi > libraries. Examples: > > - Bottle: http://bottlepy.org/docs/dev/tutorial.html#request-routing > - Flask: http://flask.pocoo.org/docs/quickstart/#routing > > As you see they use some kind of regexp to specify url matching. I > don't know if we need it for the webdav, but it's a nice abstraction.
For me regexp are too complicated. A simple startswith will be enough. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgp9qvJaoYQGj.pgp
Description: PGP signature
