Skip to content

Commit

Permalink
server: change http method_not_allowed message (#1452)
Browse files Browse the repository at this point in the history
Co-authored-by: Niklas Adolfsson <[email protected]>
  • Loading branch information
dcfreire and niklasad1 authored Sep 20, 2024
1 parent 961df83 commit f70c8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/transport/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub mod response {
pub fn method_not_allowed() -> HttpResponse {
from_template(
hyper::StatusCode::METHOD_NOT_ALLOWED,
"Used HTTP Method is not allowed. POST or OPTIONS is required\n",
"Used HTTP Method is not allowed. POST is required\n",
TEXT,
)
}
Expand Down

0 comments on commit f70c8c8

Please sign in to comment.