summaryrefslogtreecommitdiff
path: root/http/http_body.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/http_body.hpp')
-rw-r--r--http/http_body.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/http/http_body.hpp b/http/http_body.hpp
index 4b58f213b1..f2ec53fec2 100644
--- a/http/http_body.hpp
+++ b/http/http_body.hpp
@@ -117,6 +117,7 @@ class HttpBody::value_type
strBody.shrink_to_fit();
fileHandle = boost::beast::file_posix();
fileSize = std::nullopt;
+ encodingType = EncodingType::Raw;
}
void open(const char* path, boost::beast::file_mode mode,