Skip to content

Commit

Permalink
Merge pull request #602 from /issues/601-patch-http-method
Browse files Browse the repository at this point in the history
Support PATCH HTTP method
  • Loading branch information
hvge authored Jul 25, 2024
2 parents 2702829 + e1283e8 commit 174ffbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PowerAuth/PublicTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ namespace powerAuth
if (method.empty() || uri.empty()) {
return false;
}
if (!(method == "GET" || method == "POST" || method == "HEAD" || method == "PUT" || method == "DELETE")) {
if (!(method == "GET" || method == "POST" || method == "HEAD" || method == "PUT" || method == "DELETE" || method == "PATCH")) {
return false;
}
if (!offlineNonce.empty()) {
Expand Down

0 comments on commit 174ffbd

Please sign in to comment.