You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/09/09 19:59:16 UTC

[GitHub] [nifi] ottobackwards commented on a change in pull request #4517: NIFI-6920 Add empty string key check for HTTP response headers before…

ottobackwards commented on a change in pull request #4517:
URL: https://github.com/apache/nifi/pull/4517#discussion_r485885949



##########
File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java
##########
@@ -1276,7 +1276,7 @@ private String csv(Collection<String> values) {
         // create a new hashmap to store the values from the connection
         Map<String, String> map = new HashMap<>();
         responseHttp.headers().names().forEach((key) -> {

Review comment:
       You would want to use StringUtils.isBlank() see other parts of the code.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org