>
> Sylvain Hellegouarch wrote:
>> Hello,
>>
>> Could you not try using a default page handler at the top of your
>> controllers tree and catch all those 404 there then simply raise a
>> different code?
>
> I don't think the default method propagates down to mounted apps.
>

As I'm not sure we understand each other, I prefer to clarify my saying.

Say you have a good old tree like this:

forum = Forum()
forum.topic = Topic()
forum.topic.message = Message()

If Forum contains a default method, it will be called when a message
cannot be found. In such case you can totally raise a different HTTP code
from there.

Now I might miss your point altogether and look stupid :D

- Sylvain

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to