Skip to content

Commit 14158b5

Browse files
authored
Merge pull request #15 from carols10cents/patch-1
Correct display of Method::Put to be PUT
2 parents cc5b371 + 0d86fd2 commit 14158b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl fmt::Display for Method {
4646
let s = match *self {
4747
Method::Get => "GET",
4848
Method::Post => "POST",
49-
Method::Put => "POST",
49+
Method::Put => "PUT",
5050
Method::Delete => "DELETE",
5151
Method::Head => "HEAD",
5252
Method::Connect => "CONNECT",

0 commit comments

Comments
 (0)