Okay, this is interesting. Alessandro, have you looked into this yet? I
figured I'd ask you first before I started.

I've tried this with several different URLs, and the results are not what I
expected.

I've modified the example somewhat to not have the filename parameter. My
def foo() looks like this:

    @expose()
    def foo(self, *args, **kw):
        if request.response_ext:
            print 'ext=%s' % request.response_ext

I then run it against several URLs, and get surprising results:

http://localhost:8080/foo.html <http://localhost:8080/foo.some.more.html> <--
works
http://localhost:8080/foo.some.html <-- works
http://localhost:8080/foo.some.more.html <-- returns 404

What do you think? Do we have a problem here? BTW, this is against the
latest code on the development branch.
-- 
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: [email protected] -- Twitter: pedersentg

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to