aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/misc
diff options
context:
space:
mode:
authorsvshevtsov <svshevtsov@yandex-team.ru>2022-02-10 16:49:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:37 +0300
commit657337012a264721d58c470b4e9e796611f3c492 (patch)
tree82753fd92cf7cc2dea4e522a945ed570131f920b /library/cpp/http/misc
parent44f31b316af517a4fbc6a82ebed8a1c51807deac (diff)
downloadydb-657337012a264721d58c470b4e9e796611f3c492.tar.gz
Restoring authorship annotation for <svshevtsov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/misc')
-rw-r--r--library/cpp/http/misc/httpcodes.h12
-rw-r--r--library/cpp/http/misc/ya.make4
2 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/http/misc/httpcodes.h b/library/cpp/http/misc/httpcodes.h
index cbfbaa1188..87175019f9 100644
--- a/library/cpp/http/misc/httpcodes.h
+++ b/library/cpp/http/misc/httpcodes.h
@@ -84,11 +84,11 @@ inline TStringBuf HttpCodeStr(int code) noexcept {
inline bool IsHttpCode(int code) noexcept {
return HttpCodeStrEx(code).data() != HttpCodeStrEx(0).data();
}
-
+
inline bool IsUserError(int code) noexcept {
- return code >= 400 && code < 500;
-}
-
+ return code >= 400 && code < 500;
+}
+
inline bool IsServerError(int code) noexcept {
- return code >= 500;
-}
+ return code >= 500;
+}
diff --git a/library/cpp/http/misc/ya.make b/library/cpp/http/misc/ya.make
index fceb3cf79c..e0f2fb42ea 100644
--- a/library/cpp/http/misc/ya.make
+++ b/library/cpp/http/misc/ya.make
@@ -5,8 +5,8 @@ OWNER(
mvel
)
-GENERATE_ENUM_SERIALIZATION(httpcodes.h)
-
+GENERATE_ENUM_SERIALIZATION(httpcodes.h)
+
SRCS(
httpcodes.cpp
httpdate.cpp