diff --git a/lib/src/response/redirect.rs b/lib/src/response/redirect.rs index 8b9b39f1..f9cb7dd2 100644 --- a/lib/src/response/redirect.rs +++ b/lib/src/response/redirect.rs @@ -102,8 +102,7 @@ impl Responder<'static> for Redirect { fn respond(self) -> Result, Status> { Response::build() .status(self.0) - .header(header::ContentLength(0)) - .header(header::Location(self.1.clone())) + .header(header::Location(self.1)) .ok() } }