I have application with two pages: both linked to own shared folder on my
hard disk:
Controllers:
def first_page():
return dict(files=Expose('/home/user/Desktop/Binary_to_send'))
def second_page():
return dict(files=Expose('/home/user/Desktop/Configuration_to_send'))
Views:
{{=files}}
When I send POST request to remote server it try to use
*http://localhost:8000/myApp/default/first_page* to download binary file
and then * http://localhost:8000/myApp/default/second_page* to download
config file, but it get only 1 byte of data from first downloaded file and
3 bytes from second...
How should I edit Controller to be able to response with full range of data?
--
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 subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.