Github user alopresto commented on a diff in the pull request:
https://github.com/apache/nifi/pull/3020#discussion_r219714056
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
---
@@ -726,7 +737,7 @@ public long getContentLength() {
contentType = StringUtils.isBlank(contentTypeValue) ?
DEFAULT_CONTENT_TYPE : contentTypeValue;
}
- final String attributeHeaderRegex =
context.getProperty(ATTRIBUTES_AS_HEADERS_REGEX).getValue();
+ final String attributeHeaderRegex =
context.getProperty(ATTRIBUTES_AS_HEADERS_REGEX).evaluateAttributeExpressions().getValue();
--- End diff --
See comment about `attributeHeaderRegex` above.
---