aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io
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/io
parentf1883685d823158395282817c80ae4589e0ce046 (diff)
downloadydb-2091a6649bd6d42b9c8fd5f480948d0959fda869.tar.gz
Restoring authorship annotation for <lelby@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/io')
-rw-r--r--library/cpp/http/io/stream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/http/io/stream.cpp b/library/cpp/http/io/stream.cpp
index 057c6e9994..6689be684f 100644
--- a/library/cpp/http/io/stream.cpp
+++ b/library/cpp/http/io/stream.cpp
@@ -277,7 +277,7 @@ private:
return strnicmp(FirstLine().data(), "get", 3) == 0 ||
strnicmp(FirstLine().data(), "post", 4) == 0 ||
strnicmp(FirstLine().data(), "put", 3) == 0 ||
- strnicmp(FirstLine().data(), "patch", 5) == 0 ||
+ strnicmp(FirstLine().data(), "patch", 5) == 0 ||
strnicmp(FirstLine().data(), "head", 4) == 0 ||
strnicmp(FirstLine().data(), "delete", 6) == 0;
}
@@ -657,7 +657,7 @@ private:
inline bool HasRequestBody() const noexcept {
return strnicmp(FirstLine_.data(), "POST", 4) == 0 ||
- strnicmp(FirstLine_.data(), "PATCH", 5) == 0 ||
+ strnicmp(FirstLine_.data(), "PATCH", 5) == 0 ||
strnicmp(FirstLine_.data(), "PUT", 3) == 0;
}
static inline size_t ParseHttpVersion(const TString& s) {