[web2py] download stream file

2016-12-09 Thread Htet Wai Kyu
def serve(): filename=request.args(0) response.headers['ContentType']="application/octet-stream"; response.headers['Content-Disposition']='attachment;filename='+filename; path=os.path.join(request.folder,"static","videos",filename) return response.stream(path) Download It's wo

[web2py] Android Front End and Web2py BackEnd

2017-01-01 Thread Htet Wai Kyu
Retrfit android and web2py backend Rest service.is there anyone can show me for samples? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received thi

[web2py] Re: Retrofit and Web2py

2017-01-04 Thread Htet Wai Kyu
Can i change web2py json to [{ }] instead of content[{}] -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscr

[web2py] Re: Web2py Websocket in Rest

2017-02-17 Thread Htet Wai Kyu
i want to creat chatting application with json. Can i use tornado websocket with web2py(something like websocket_messaging.py )? or should i only use Tornado -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code