diff options
| author | uzhas <[email protected]> | 2022-10-04 11:37:37 +0300 |
|---|---|---|
| committer | uzhas <[email protected]> | 2022-10-04 11:37:37 +0300 |
| commit | 5022741aa2ff5ed64a52cd6b58ec20d36d34dc3b (patch) | |
| tree | e456555d16f81cb7148e1febd4036e56dba382c6 /library/cpp/actors/http/http.cpp | |
| parent | fe82ac7c9e6d41a24ec601abf1413ba28e10c067 (diff) | |
support content-type in GET
Diffstat (limited to 'library/cpp/actors/http/http.cpp')
| -rw-r--r-- | library/cpp/actors/http/http.cpp | 2 |
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 <> |
