diff options
| author | artkolesnikov <[email protected]> | 2022-02-10 16:47:36 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:36 +0300 |
| commit | 8611780b719073fe6c7e6536c71d61e20d57a5d6 (patch) | |
| tree | 1284229a15a8eeeb4e9c81a6473f4e31d625cb52 /library/cpp/http/server/response.h | |
| parent | cfadda92ca195da3ad68d721a58872a4f1ced696 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/server/response.h')
| -rw-r--r-- | library/cpp/http/server/response.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/server/response.h b/library/cpp/http/server/response.h index a75cb85605f..65e941ba3d1 100644 --- a/library/cpp/http/server/response.h +++ b/library/cpp/http/server/response.h @@ -64,10 +64,10 @@ public: return SetContent(content).SetContentType(contentType); } - HttpCodes HttpCode() const { - return Code; - } - + HttpCodes HttpCode() const { + return Code; + } + THttpResponse& SetHttpCode(HttpCodes code) { Code = code; return *this; |
