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.
1 parent 272045b commit f54a240Copy full SHA for f54a240
src/method.rs
@@ -80,7 +80,7 @@ impl FromStr for Method {
80
"OPTIONS" => Ok(Self::Options),
81
"TRACE" => Ok(Self::Trace),
82
"PATCH" => Ok(Self::Patch),
83
- _ => crate::bail!("Invalid HTTP status code"),
+ _ => crate::bail!("Invalid HTTP method"),
84
}
85
86
0 commit comments