Ferenc Gerlits created MINIFICPP-2207:
-----------------------------------------

             Summary: The HTTP request method field in HTTPClient and 
InvokeHTTP should be an enum
                 Key: MINIFICPP-2207
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2207
             Project: Apache NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Ferenc Gerlits


Currently, {{HTTPClient::method_}} is a string, and if it is mistyped, we pass 
it on to curl, and get a cryptic curl error instead of throwing in 
{{{}onSchedule{}}}.  We should change it to an enum, and so validate it at 
schedule time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to