Im using Python bottle framework to upload a file..The controller receives the file and transmits to another system using Java rest service..
Everything works fine when the file is small but if the file is huge (it takes 5 mints) the application returns a blank page instead of a html page that its supposed to return.
@app.route('/DataLoads',method='GET')
def pptriv():
return template('dataload',
footer_html=FOOTER_HTML,feedback_html=FEEDBACK_HTML)
@app.route('/DataLoads',method='POST')
def pptriv():
username = request.forms.get('username')
password = request.forms.get('password')
uploadfile = request.files.get('File Upload')
....
..use Python requests module to transmit the files.....
...
print 'r.status_code = ', r.status_code
return template('dataload',
footer_html=FOOTER_HTML,feedback_html=FEEDBACK_HTML)
I see the print stmt r.status_code but the dataload html page, if its small file everything looks good..