Skip to content

Commit 56f2223

Browse files
authored
Merge pull request #380 from AlyoshaVasilieva/typo
Fix canonical reason for 304 Not Modified
2 parents cb62676 + 25acd08 commit 56f2223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/status_code.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ impl StatusCode {
484484
StatusCode::MovedPermanently => "Moved Permanently",
485485
StatusCode::Found => "Found",
486486
StatusCode::SeeOther => "See Other",
487-
StatusCode::NotModified => "Modified",
487+
StatusCode::NotModified => "Not Modified",
488488
StatusCode::TemporaryRedirect => "Temporary Redirect",
489489
StatusCode::PermanentRedirect => "Permanent Redirect",
490490
StatusCode::BadRequest => "Bad Request",

0 commit comments

Comments
 (0)