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
commitf20fed3ce6cdb52b09a0d5e53388e293e805ac81 (patch)
tree67422579185c14e02357ae67f49d1fac9433d601 /library/cpp/http/server
parent2091a6649bd6d42b9c8fd5f480948d0959fda869 (diff)
downloadydb-f20fed3ce6cdb52b09a0d5e53388e293e805ac81.tar.gz
Restoring authorship annotation for <nataxane@yandex-team.ru>. Commit 1 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 e07db22bfc..71f815d276 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;
}