You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2023/08/31 07:26:00 UTC

[jira] [Created] (MINIFICPP-2207) The HTTP request method field in HTTPClient and InvokeHTTP should be an enum

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)