Skip to content

Commit

Permalink
Core: Fix #601: Support PATCH HTTP method
Browse files Browse the repository at this point in the history
  • Loading branch information
hvge committed Jul 9, 2024
1 parent 2702829 commit e1283e8
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 e1283e8

Please sign in to comment.