In web2py trunk, the decorador "@auth.requires_login()" has stopped working
in the GAE environment, the following text is displayed in the browser:

"

*False
Status: 303 SEE OTHER
Set-Cookie:  session_id_test="61:7588614f-6f94-48ba-b87b-80c20d7d27f2"; Path=/
Content-Type: text/html; charset=UTF-8
Location: /test/default/user/login?_next=/test/default/index

You are being redirected <a
href="/test/default/user/login?_next=/test/default/index">here</a>*

"

*I think because in line 2321 of module "gluon/tools.py" has this
print*"self.environment.request.is_restful" (which displays
False), commenting the error does not occur.

-- 
*Lucas D'Avila*
http://flavors.me/lucasdavila

Reply via email to