Matt Burgess created NIFI-5467:
----------------------------------

             Summary: Add option to HandleHttpRequest/Response allowing 
multiple params with the same key
                 Key: NIFI-5467
                 URL: https://issues.apache.org/jira/browse/NIFI-5467
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: Matt Burgess


In HttpHandleRequest, the query parameters are added as attributes to the 
outgoing flow file(s). However, even though there is no standard for allowing 
multiple parameters with the same key, it is often found in various REST APIs, 
such as: 

http://host:port/query?id=a&id=b

In this case there will be a single attribute "http.query.param.id" set to b 
(the "a" is overwritten). It would be nice to have a property called "Allow 
multiple parameters" or something, and if true, multiple parameters will result 
in a comma-delimited list of values rather than a single value.
This same approach may be able to be applied to HandleHttpResponse as well, but 
if not, the title and description of this Jira can be updated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to