[
https://issues.apache.org/jira/browse/NIFI-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301965#comment-15301965
]
Aldrin Piri commented on NIFI-1342:
-----------------------------------
Hi Andre,
PostHttp is using the Apache HTTP Components HTTP Client. This issue is more
of a nicety than anything else. By default, there is no value set in the
Processor configuration for User Agent, but the HTTP Client library inherently
sets one when it is sent regardless if one was specified in the Processor
configuration. To avoid confusion for the user and provide some additional
information, the hope was to get what the User Agent was from the backing
library and specify that as the default value for the User Agent property.
Let me know if that clears things up or not!
> PostHTTP User Agent property should be pre-populated with client default
> ------------------------------------------------------------------------
>
> Key: NIFI-1342
> URL: https://issues.apache.org/jira/browse/NIFI-1342
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 0.4.1
> Reporter: Aldrin Piri
> Priority: Trivial
>
> Currently, PostHTTP shows an empty string for the User Agent property which
> is used in web requests, but this actually results in the default of the
> client being used. For clarity, and if the backing library supports it,
> getting the User Agent string used by the library as the default processor
> User Agent property would be a nice improvement.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)