summaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/http_ex.cpp
diff options
context:
space:
mode:
authorlelby <[email protected]>2022-02-10 16:49:36 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:36 +0300
commitf1883685d823158395282817c80ae4589e0ce046 (patch)
tree9a6ea433c5b377f9e6796db886b18377245f7f12 /library/cpp/http/server/http_ex.cpp
parentf8f6804a3e352897afabc93afcb32081e3fca601 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/server/http_ex.cpp')
-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 e07db22bfc8..875b0599137 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()) {