We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Redirect::new
1 parent 0fc6720 commit 139e892Copy full SHA for 139e892
src/redirect.rs
@@ -49,7 +49,7 @@ impl<T: AsRef<str>> Redirect<T> {
49
/// Uses status code 302 Found.
50
pub fn new(location: T) -> Self {
51
Self {
52
- status: StatusCode::SeeOther,
+ status: StatusCode::Found,
53
location,
54
}
55
0 commit comments