Re: [Web-SIG] handling URLs with ending slash

2008-12-14 Thread Manlio Perillo
Thomas Broyer ha scritto: On Sun, Dec 14, 2008 at 11:23 AM, Manlio Perillo wrote: In my WSGI applications I always have an ending slash to the URLs. This means that an URL without the ending slash will cause the underlying resource to return 404 Not Found HTTP response. What is the best method

Re: [Web-SIG] handling URLs with ending slash

2008-12-14 Thread Manlio Perillo
Randy Syring ha scritto: Manilo, Manlio not Manilo, please! Here is a thread on this topic, well a partial thread, start reading about half way down: http://groups.google.com/group/pylons-discuss/browse_thread/thread/6888b790239b488b I found it informative. Thanks, it is interesting

Re: [Web-SIG] handling URLs with ending slash

2008-12-14 Thread Randy Syring
Manilo, Here is a thread on this topic, well a partial thread, start reading about half way down: http://groups.google.com/group/pylons-discuss/browse_thread/thread/6888b790239b488b I found it informative. -- Randy Syring RCS Computers & Web Solutions 502-

Re: [Web-SIG] handling URLs with ending slash

2008-12-14 Thread Thomas Broyer
On Sun, Dec 14, 2008 at 11:23 AM, Manlio Perillo wrote: > > In my WSGI applications I always have an ending slash to the URLs. > This means that an URL without the ending slash will cause the underlying > resource to return 404 Not Found HTTP response. > > What is the best method to handle this, us

[Web-SIG] handling URLs with ending slash

2008-12-14 Thread Manlio Perillo
Hi. In my WSGI applications I always have an ending slash to the URLs. This means that an URL without the ending slash will cause the underlying resource to return 404 Not Found HTTP response. What is the best method to handle this, using a regex based URL dispatcher? I'm planning to add an o