(req)
| 15 | |
| 16 | |
| 17 | def upload_file(req): |
| 18 | return Response( |
| 19 | """<h1>Upload File</h1> |
| 20 | <form action="" method="post" enctype="multipart/form-data"> |
| 21 | <input type="file" name="uploaded_file"> |
| 22 | <input type="submit" value="Upload"> |
| 23 | </form>""", |
| 24 | mimetype="text/html", |
| 25 | ) |
| 26 | |
| 27 | |
| 28 | def application(environ, start_response): |