lordgamez commented on code in PR #1321:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1321#discussion_r869048740


##########
extensions/http-curl/processors/InvokeHTTP.cpp:
##########
@@ -115,6 +107,16 @@ core::Property InvokeHTTP::AlwaysOutputResponse("Always 
Output Response", "Will
 core::Property InvokeHTTP::PenalizeOnNoRetry("Penalize on \"No Retry\"", 
"Enabling this property will penalize FlowFiles that are routed to the \"No 
Retry\" relationship.", "false");
 
 core::Property InvokeHTTP::DisablePeerVerification("Disable Peer 
Verification", "Disables peer verification for the SSL session", "false");
+
+core::Property InvokeHTTP::InvalidHTTPHeaderFieldHandlingStrategy(
+    core::PropertyBuilder::createProperty("Invalid HTTP Header Field Handling 
Strategy")
+      ->withDescription("Indicates what should happen when an attribute's name 
is not a valid HTTP header field name. "
+        "Options: fail - flow file is transferred to failure, transform - 
invalid characters are replaced, drop - drops invalid attributes from HTTP 
message")
+      ->isRequired(true)
+      
->withDefaultValue<std::string>(toString(InvalidHTTPHeaderFieldHandlingOption::FAIL))
+      
->withAllowableValues<std::string>(InvalidHTTPHeaderFieldHandlingOption::values())

Review Comment:
   I changed the default to `transform` in 
2d58393dbbb46ec17e56b961e01f04e1be6880bb



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to