[ 
https://issues.apache.org/jira/browse/NIFI-10397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603069#comment-17603069
 ] 

Josh Highley commented on NIFI-10397:
-------------------------------------

At a minimum, InvokeHTTP documentation should be updated to reflect the 
behavior of okhttp.

> InvokeHTTP is sending empty User-Agent header
> ---------------------------------------------
>
>                 Key: NIFI-10397
>                 URL: https://issues.apache.org/jira/browse/NIFI-10397
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Josh Highley
>            Priority: Minor
>
> Issue introduced by this change:  [https://github.com/apache/nifi/pull/4428]
> When the InvokeHTTP processor configuration has no value for UserAgent, 
> InvokeHTTP is still sending a User-Agent header but with no header value.  
> (User-Agent: \r\n)
> If the configuration has no value, then no User-Agent header should be sent.
> An empty value for User-Agent header will trigger some request scanners 
> attempting to block robots.
>  



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

Reply via email to