[Twisted-web] My solution to appending slashes to resources
p.mayers at imperial.ac.uk
Wed Oct 7 12:06:45 EDT 2009
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
> - 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)
More information about the Twisted-web