diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2021-08-28 22:30:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-28 22:30:50 +0000 |
commit | ecbf9c0076912eba2e66376895c795843bbaa607 (patch) | |
tree | c9da0a390923673ccb007488a35cb5baaa4ffca2 /src/file_upload.rs | |
parent | Add CHANGELOG entry for backslash encoding contribution (diff) | |
parent | migrate to actix-web v4.0-beta (diff) | |
download | miniserve-ecbf9c0076912eba2e66376895c795843bbaa607.tar.gz miniserve-ecbf9c0076912eba2e66376895c795843bbaa607.zip |
Merge pull request #582 from aliemjay/web-v4
migrate to actix-web v4.0-beta
Diffstat (limited to '')
-rw-r--r-- | src/file_upload.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_upload.rs b/src/file_upload.rs index 3edb09e..5faa67f 100644 --- a/src/file_upload.rs +++ b/src/file_upload.rs @@ -205,7 +205,7 @@ pub fn upload_file( .then(move |e| match e { Ok(_) => future::ok( HttpResponse::SeeOther() - .header(header::LOCATION, return_path) + .append_header((header::LOCATION, return_path)) .finish(), ), Err(e) => create_error_response( |