aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/misc
diff options
context:
space:
mode:
authorradix <radix@yandex-team.ru>2022-02-10 16:49:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:44 +0300
commitbfd0aa05cabedcab6f4c4d36948dc7581e476782 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/misc
parent24658cfd172ef5de124df383c334079783154fbf (diff)
downloadydb-bfd0aa05cabedcab6f4c4d36948dc7581e476782.tar.gz
Restoring authorship annotation for <radix@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/misc')
-rw-r--r--library/cpp/http/misc/parsed_request.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/http/misc/parsed_request.cpp b/library/cpp/http/misc/parsed_request.cpp
index baef4221a7..e332a24e91 100644
--- a/library/cpp/http/misc/parsed_request.cpp
+++ b/library/cpp/http/misc/parsed_request.cpp
@@ -16,11 +16,11 @@ static inline TStringBuf StripLeft(const TStringBuf& s) noexcept {
TParsedHttpRequest::TParsedHttpRequest(const TStringBuf& str) {
TStringBuf tmp;
- if (!StripLeft(str).TrySplit(' ', Method, tmp)) {
+ if (!StripLeft(str).TrySplit(' ', Method, tmp)) {
ythrow yexception() << "bad request(" << ToString(str).Quote() << ")";
}
- if (!StripLeft(tmp).TrySplit(' ', Request, Proto)) {
+ if (!StripLeft(tmp).TrySplit(' ', Request, Proto)) {
ythrow yexception() << "bad request(" << ToString(str).Quote() << ")";
}