Skip to content

Commit 4f5f693

Browse files
authored
Merge pull request #681 from swimos/http_lane
Adds missing HTTP PUT mapping for HTTP lanes
2 parents e3bf823 + f99329a commit 4f5f693

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/swimos_api/src/http/method.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ fn methods() -> &'static HashMap<http::Method, Method> {
6565
m.insert(http::Method::GET, Method::GET);
6666
m.insert(http::Method::HEAD, Method::HEAD);
6767
m.insert(http::Method::POST, Method::POST);
68+
m.insert(http::Method::PUT, Method::PUT);
6869
m.insert(http::Method::DELETE, Method::DELETE);
6970
m.insert(http::Method::CONNECT, Method::CONNECT);
7071
m.insert(http::Method::OPTIONS, Method::OPTIONS);

0 commit comments

Comments
 (0)