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 | 24658cfd172ef5de124df383c334079783154fbf (patch) | |
tree | bccc29f3945c7245036b5973bcc7358a760fcc25 /library/cpp | |
parent | ceabccd128eb94ed6566936fcab2093ec62aa84a (diff) | |
download | ydb-24658cfd172ef5de124df383c334079783154fbf.tar.gz |
Restoring authorship annotation for <radix@yandex-team.ru>. Commit 1 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 e332a24e91..baef4221a7 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() << ")"; } |