summaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/http/http.cpp
diff options
context:
space:
mode:
authoruzhas <[email protected]>2022-10-04 11:37:37 +0300
committeruzhas <[email protected]>2022-10-04 11:37:37 +0300
commit5022741aa2ff5ed64a52cd6b58ec20d36d34dc3b (patch)
treee456555d16f81cb7148e1febd4036e56dba382c6 /library/cpp/actors/http/http.cpp
parentfe82ac7c9e6d41a24ec601abf1413ba28e10c067 (diff)
support content-type in GET
Diffstat (limited to 'library/cpp/actors/http/http.cpp')
-rw-r--r--library/cpp/actors/http/http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/actors/http/http.cpp b/library/cpp/actors/http/http.cpp
index 7da6ace0b99..7057689b52d 100644
--- a/library/cpp/actors/http/http.cpp
+++ b/library/cpp/actors/http/http.cpp
@@ -69,7 +69,7 @@ bool THttpParser<THttpRequest, TSocketBuffer>::HaveBody() const {
if (!Body.empty()) {
return true;
}
- return (!ContentType.empty() || !ContentLength.empty() || !TransferEncoding.empty());
+ return !ContentLength.empty() || !TransferEncoding.empty();
}
template <>