Skip to content

Commit

Permalink
add Patch http verb
Browse files Browse the repository at this point in the history
fix dapr#612

Signed-off-by: Giovanni Vella (johnvan7)<[email protected]>
johnvan7 committed Sep 18, 2024

Verified

This commit was signed with the committer’s verified signature.
hobu Howard Butler
1 parent 5cefcf1 commit 98ccbff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/HttpVerb.util.ts
Original file line number Diff line number Diff line change
@@ -23,6 +23,8 @@ export function convertHttpVerbNumberToString(verbNumber: HTTPExtension.Verb): s
return "DELETE";
case HTTPExtension.Verb.PUT:
return "PUT";
case HTTPExtension.Verb.PATCH:
return "PATCH";
case HTTPExtension.Verb.TRACE:
return "TRACE";
case HTTPExtension.Verb.CONNECT:
@@ -48,6 +50,8 @@ export function convertHttpVerbStringToNumber(verbStr: string): HTTPExtension.Ve
return HTTPExtension.Verb.DELETE;
case "PUT":
return HTTPExtension.Verb.PUT;
case "PATCH":
return HTTPExtension.Verb.PATCH;
case "TRACE":
return HTTPExtension.Verb.TRACE;
case "CONNECT":

0 comments on commit 98ccbff

Please sign in to comment.