From 95f6277007332cf593e9f8ead3c6e0e57d243cfb Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Fri, 13 Apr 2018 14:36:07 -0700 Subject: [PATCH] fix typo --- README.md | 4 ++-- src/httpcodes.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ae070fac2..9eb11248c 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ Actix web is a simple, pragmatic and extremely fast web framework for Rust. ## Documentation & community resources -* [User Guide](https://actix.github.io/actix-web/guide/) -* [API Documentation (Development)](https://actix.github.io/actix-web/actix_web/) +* [User Guide](https://actix.rs/actix-web/guide/) +* [API Documentation (Development)](https://actix.rs/actix-web/actix_web/) * [API Documentation (Releases)](https://docs.rs/actix-web/) * [Chat on gitter](https://gitter.im/actix/actix) * Cargo package: [actix-web](https://crates.io/crates/actix-web) diff --git a/src/httpcodes.rs b/src/httpcodes.rs index 7ad66cb1b..5d3eb7ff0 100644 --- a/src/httpcodes.rs +++ b/src/httpcodes.rs @@ -203,6 +203,7 @@ impl HttpResponse { STATIC_RESP!(MultipleChoices, StatusCode::MULTIPLE_CHOICES); STATIC_RESP!(MovedPermanenty, StatusCode::MOVED_PERMANENTLY); + STATIC_RESP!(MovedPermanently, StatusCode::MOVED_PERMANENTLY); STATIC_RESP!(Found, StatusCode::FOUND); STATIC_RESP!(SeeOther, StatusCode::SEE_OTHER); STATIC_RESP!(NotModified, StatusCode::NOT_MODIFIED);