This is an automated email from the ASF dual-hosted git repository.
szaszm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new e5bd87cc2 MINIFICPP-1845 c2 request compression: review changes...
e5bd87cc2 is described below
commit e5bd87cc2001b97a346fe05a60e0da3fb9264f6f
Author: Adam Debreceni <[email protected]>
AuthorDate: Tue Jun 7 14:15:29 2022 +0200
MINIFICPP-1845 c2 request compression: review changes...
... from #1344 that I missed in the merge commit 0f5c0b
Signed-off-by: Marton Szasz <[email protected]>
---
extensions/http-curl/protocols/RESTSender.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extensions/http-curl/protocols/RESTSender.cpp
b/extensions/http-curl/protocols/RESTSender.cpp
index 6eee45716..fc21a414a 100644
--- a/extensions/http-curl/protocols/RESTSender.cpp
+++ b/extensions/http-curl/protocols/RESTSender.cpp
@@ -50,7 +50,7 @@ void
RESTSender::initialize(core::controller::ControllerServiceProvider* control
}
}
if (auto req_encoding_str =
configure->get(Configuration::nifi_c2_rest_request_encoding)) {
- if (auto req_encoding =
RequestEncoding::parse(req_encoding_str->c_str(), RequestEncoding{})) {
+ if (auto req_encoding =
RequestEncoding::parse(req_encoding_str->c_str(), RequestEncoding{}, false)) {
logger_->log_debug("Using request encoding '%s'",
req_encoding.toString());
req_encoding_ = req_encoding;
} else {