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

Joseph Percivall commented on NIFI-1086:
----------------------------------------

The core of 1133 is that when the status returned is not success (not 2xx) 
there is no success response emitted. If that happens the request flowfile gets 
routed to one of the other relationships with only a couple headers added as 
attributes (such as status code and message). There needs to be a processor 
property that allows saving of all the headers to request regardless of status 
returned.

> Refactor InvokeHttp
> -------------------
>
>                 Key: NIFI-1086
>                 URL: https://issues.apache.org/jira/browse/NIFI-1086
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joseph Percivall
>            Assignee: Joseph Percivall
>             Fix For: 0.4.0
>
>         Attachments: NIFI-1086_added_fixes_for_incorporated_tickets_2.patch
>
>
> InvokeHttp currently uses Java's HttpUrlConnection, which is lacking in it's 
> features and ease-of-use. In order to support all the current InvokeHttp 
> pending tickets it's clear that a new underlying library is needed.
> OkHttp looks to be a promising library that focusing on individual 
> transactions (as opposed to Apache's HttpClient that focuses more on 
> sessions). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to