From 2091a6649bd6d42b9c8fd5f480948d0959fda869 Mon Sep 17 00:00:00 2001 From: lelby <lelby@yandex-team.ru> Date: Thu, 10 Feb 2022 16:49:36 +0300 Subject: Restoring authorship annotation for <lelby@yandex-team.ru>. Commit 2 of 2. --- library/cpp/http/server/http_ex.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'library/cpp/http/server/http_ex.cpp') 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()) { -- cgit v1.2.3