diff --git a/actix-files/src/files.rs b/actix-files/src/files.rs index a68f074c6..3491f59e2 100644 --- a/actix-files/src/files.rs +++ b/actix-files/src/files.rs @@ -147,9 +147,9 @@ impl Files { self } - /// Redirect with permanent redirect status code + /// Redirect with permanent redirect status code (308). /// - /// By default redirect with temporary redirect status code + /// By default redirect with temporary redirect status code (307). pub fn with_permanent_redirect(mut self) -> Self { self.with_permanent_redirect = true; self