diff options
author | radix <radix@yandex-team.ru> | 2022-02-10 16:49:44 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:44 +0300 |
commit | bfd0aa05cabedcab6f4c4d36948dc7581e476782 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp | |
parent | 24658cfd172ef5de124df383c334079783154fbf (diff) | |
download | ydb-bfd0aa05cabedcab6f4c4d36948dc7581e476782.tar.gz |
Restoring authorship annotation for <radix@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/http/misc/parsed_request.cpp | 4 |
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() << ")"; } |