()
| 52 | |
| 53 | @app.route("/save-as-binary/", methods=['POST']) |
| 54 | def binary_saver(): |
| 55 | filename = '{:10d}.png'.format(int(time())) # generate some filename |
| 56 | filepath = os.path.join(get_tmp_dir(), filename) |
| 57 | request.files['image'].save(filepath) |
| 58 | |
| 59 | return jsonify({}) |
| 60 | |
| 61 | |
| 62 | @app.route('/image/<path:filename>') |
nothing calls this directly
no test coverage detected
searching dependent graphs…