Re: My solution to appending slashes to resources
Phil Mayers <[email protected]>
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
Mark Wright wrote: > (I didn't reply to my original message because the mailing list never > sent it to me. Yet, I can see it at the archives here > http://twistedmatrix.com/pipermail/twisted-web/2009-October/004334.html > - is anyone getting these messages?) Yes. Mailman doesn't send the mail to the sender by default, hence you not getting a copy. > > A bit of metaprogramming to the rescue. For those Resource classes > that you want to append slashes automatically, this seems to work. > Can anyone see any problems with this? It's... an awful lot of effort, but hey - if trailing slashes are that important to you, knock yourself out ;o)