aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server
diff options
context:
space:
mode:
authorlelby <lelby@yandex-team.ru>2022-02-10 16:49:36 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:36 +0300
commit2091a6649bd6d42b9c8fd5f480948d0959fda869 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/server
parentf1883685d823158395282817c80ae4589e0ce046 (diff)
downloadydb-2091a6649bd6d42b9c8fd5f480948d0959fda869.tar.gz
Restoring authorship annotation for <lelby@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server')
-rw-r--r--library/cpp/http/server/http_ex.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/http/server/http_ex.cpp b/library/cpp/http/server/http_ex.cpp
index 875b059913..e07db22bfc 100644
--- a/library/cpp/http/server/http_ex.cpp
+++ b/library/cpp/http/server/http_ex.cpp
@@ -32,7 +32,7 @@ bool THttpClientRequestExtension::ProcessHeaders(TBaseServerRequestData& rd, TBl
Get,
Post,
Put,
- Patch,
+ Patch,
Delete,
};
@@ -48,9 +48,9 @@ bool THttpClientRequestExtension::ProcessHeaders(TBaseServerRequestData& rd, TBl
} else if (strnicmp(s, "PUT ", 4) == 0) {
foundMethod = Put;
urlStart = s + 4;
- } else if (strnicmp(s, "PATCH ", 6) == 0) {
- foundMethod = Patch;
- urlStart = s + 6;
+ } else if (strnicmp(s, "PATCH ", 6) == 0) {
+ foundMethod = Patch;
+ urlStart = s + 6;
} else if (strnicmp(s, "DELETE ", 7) == 0) {
foundMethod = Delete;
urlStart = s + 7;
@@ -68,7 +68,7 @@ bool THttpClientRequestExtension::ProcessHeaders(TBaseServerRequestData& rd, TBl
case Post:
case Put:
- case Patch:
+ case Patch:
try {
ui64 contentLength = 0;
if (Input().HasExpect100Continue()) {