aboutsummaryrefslogtreecommitdiffstats
path: root/src/file_upload.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_upload.rs')
-rw-r--r--src/file_upload.rs2
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(