Github user trixpan commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1462#discussion_r99038321
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java
 ---
    @@ -467,6 +486,18 @@ public void onTrigger(final ProcessContext context, 
final ProcessSessionFactory
                 if (accept != null) {
                     get.addHeader(HEADER_ACCEPT, accept);
                 }
    +
    +            // Add dynamic headers
    +
    +            PropertyValue customHeaderValue;
    +            for (PropertyDescriptor customProperty : customHeaders) {
    +                customHeaderValue = 
context.getProperty(customProperty).evaluateAttributeExpressions();
    --- End diff --
    
    I considered that but refrained from it due to:
    
    
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/GetHTTP.java#L99


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to