You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2023/10/02 12:04:00 UTC
[jira] [Updated] (MINIFICPP-2207) The HTTP request method field in HTTPClient and InvokeHTTP should be an enum
[ https://issues.apache.org/jira/browse/MINIFICPP-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Szasz updated MINIFICPP-2207:
------------------------------------
Fix Version/s: 0.16.0
> 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
> Assignee: Ferenc Gerlits
> Priority: Minor
> Fix For: 0.16.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)