summaryrefslogtreecommitdiffstats
path: root/library/cpp/http/io/stream.h
diff options
context:
space:
mode:
authorermolovd <[email protected]>2022-02-10 16:47:53 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:53 +0300
commit2a4a975b112fa0fa138abc7457fe67e0e1e7fd02 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/http/io/stream.h
parentb91bcef7c99a119b0846479ef71bfab4beec72ca (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/io/stream.h')
-rw-r--r--library/cpp/http/io/stream.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/http/io/stream.h b/library/cpp/http/io/stream.h
index d2009adb79d..78ca4fc814c 100644
--- a/library/cpp/http/io/stream.h
+++ b/library/cpp/http/io/stream.h
@@ -3,7 +3,7 @@
#include "headers.h"
#include <util/stream/output.h>
-#include <util/generic/maybe.h>
+#include <util/generic/maybe.h>
#include <util/generic/ptr.h>
#include <util/generic/string.h>
#include <util/generic/strbuf.h>
@@ -35,15 +35,15 @@ public:
const THttpHeaders& Headers() const noexcept;
/*
- * parsed http trailers
- */
- /// Возвращает контейнер (возможно пустой) с trailer'ами ответа HTTP-сервера.
- /// Поток должен быть вычитан полностью прежде чем trailer'ы будут доступны.
- /// Пока поток не вычитан до конца возвращается Nothing.
- /// https://tools.ietf.org/html/rfc7230#section-4.1.2
- const TMaybe<THttpHeaders>& Trailers() const noexcept;
-
- /*
+ * parsed http trailers
+ */
+ /// Возвращает контейнер (возможно пустой) с trailer'ами ответа HTTP-сервера.
+ /// Поток должен быть вычитан полностью прежде чем trailer'ы будут доступны.
+ /// Пока поток не вычитан до конца возвращается Nothing.
+ /// https://tools.ietf.org/html/rfc7230#section-4.1.2
+ const TMaybe<THttpHeaders>& Trailers() const noexcept;
+
+ /*
* first line - response or request
*/
/// Возвращает первую строку ответа HTTP-сервера.