On Wed, Nov 19, 2008 at 2:43 PM, Randy Syring <[EMAIL PROTECTED]> wrote: > > > On Nov 19, 2:20 pm, "Raoul Snyman" <[EMAIL PROTECTED]> wrote: >> On Wed, Nov 19, 2008 at 7:05 PM, Mike Orr <[EMAIL PROTECTED]> wrote: >> > Looking at your modules, I didn't know Routes had an .append_slash >> > option but that could be throwing it off. There's no reason to put >> > slashes at the end of URLs except to make it look like a directory to >> > the user, but even then it's not necessary (/messages and >> > /messages/1234 work fine). >> >> I prefer ending urls with / :-D > > This is somewhat off topic, but I used to prefer the above too. Then > I had a page referenced by that type of URL that needed query string > arguments. I ended up with a URL like this: > > example.com/this/page/?foo=bar > > Having the whole "/?" thing just killed this idea for me. Now all my > routes specifically do not end in a slash. Anyone else have thoughts > on this? > I don't remember where I read it but URLs ending with / are supposed to be directories so the above behavior is wrong for webapps.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
