Flask: How to handle application/octet-stream,app.run()