aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 99c15ff..f0e22ab 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -132,6 +132,7 @@ where
let res = fut.await?.map_into_boxed_body();
if (res.status().is_client_error() || res.status().is_server_error())
+ && res.request().path() != "/upload"
&& res
.headers()
.get(header::CONTENT_TYPE)