()
| 30 | } |
| 31 | |
| 32 | async fn index() -> HttpResponse { |
| 33 | let html = r#"<html> |
| 34 | <head><title>Upload Test</title></head> |
| 35 | <body> |
| 36 | <form target="/" method="post" enctype="multipart/form-data"> |
| 37 | <input type="file" multiple name="file"/> |
| 38 | <button type="submit">Submit</button> |
| 39 | </form> |
| 40 | </body> |
| 41 | </html>"#; |
| 42 | |
| 43 | HttpResponse::Ok().body(html) |
| 44 | } |
| 45 | |
| 46 | #[actix_web::main] |
| 47 | async fn main() -> std::io::Result<()> { |
nothing calls this directly
no outgoing calls
no test coverage detected