Looks like the issue is being tracked in this
thread
https://groups.google.com/forum/#!searchin/web2py/basic$20auth%7Csort:date/web2py/An-BhLG_HgY/9sm5RX10BQAJ
Closing this thread
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Sour
controller code:
@auth.requires_login()
def call():
session.forget()
return service()
@service.json
def test():
return ('Hello ',auth.user)
last few lines of curl output:
> GET /myapp/helper/call/json/test HTTP/1.1
> Host: localhost:8000
> Authorization: Basic
2 matches
Mail list logo