diff options
| author | nataxane <[email protected]> | 2022-02-10 16:49:37 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:37 +0300 |
| commit | f20fed3ce6cdb52b09a0d5e53388e293e805ac81 (patch) | |
| tree | 67422579185c14e02357ae67f49d1fac9433d601 /library/cpp/http/server/http_ex.cpp | |
| parent | 2091a6649bd6d42b9c8fd5f480948d0959fda869 (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.cpp | 8 |
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 e07db22bfc8..71f815d276a 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; } |
