aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server
diff options
context:
space:
mode:
authornataxane <nataxane@yandex-team.ru>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commitc74cff1222c5ff97080e38da5019b2520991a526 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/server
parentf20fed3ce6cdb52b09a0d5e53388e293e805ac81 (diff)
downloadydb-c74cff1222c5ff97080e38da5019b2520991a526.tar.gz
Restoring authorship annotation for <nataxane@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server')
-rw-r--r--library/cpp/http/server/http_ex.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/server/http_ex.cpp b/library/cpp/http/server/http_ex.cpp
index 71f815d276..e07db22bfc 100644
--- a/library/cpp/http/server/http_ex.cpp
+++ b/library/cpp/http/server/http_ex.cpp
@@ -33,7 +33,7 @@ bool THttpClientRequestExtension::ProcessHeaders(TBaseServerRequestData& rd, TBl
Post,
Put,
Patch,
- Delete,
+ Delete,
};
enum EMethod foundMethod;
@@ -51,9 +51,9 @@ bool THttpClientRequestExtension::ProcessHeaders(TBaseServerRequestData& rd, TBl
} else if (strnicmp(s, "PATCH ", 6) == 0) {
foundMethod = Patch;
urlStart = s + 6;
- } else if (strnicmp(s, "DELETE ", 7) == 0) {
- foundMethod = Delete;
- urlStart = s + 7;
+ } else if (strnicmp(s, "DELETE ", 7) == 0) {
+ foundMethod = Delete;
+ urlStart = s + 7;
} else {
foundMethod = NotImplemented;
}