I wrote the below line in routes.py. But I am getting a server response of 
400 instead of 404.

INFO     2012-07-11 07:21:03,242 dev_appserver.py:2952] "GET /staneja 
HTTP/1.1" 400 -

So I tried after changing 404 to 400 but it is still the same. No 
redirection or request for the target URL is made.

What might be causing the problem ?

I am using web2py 1.99.7 and running it on GAE dev_appserver (localhost)

On Sunday, July 8, 2012 7:34:47 AM UTC+5:30, Massimo Di Pierro wrote:
>
> It can be done already
>
> ('/$anything','404->/myapp/default/catchall/$anything')
>
> On Saturday, 7 July 2012 18:25:25 UTC-5, pbreit wrote:
>>
>> I wonder if we should try to support this formally. Perhaps if as a 
>> "catchall" if the router doesn't find any valid routes and before it 
>> returns a 404?
>
>

Reply via email to