[
https://issues.apache.org/jira/browse/NIFI-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114585#comment-15114585
]
ASF subversion and git services commented on NIFI-1405:
-------------------------------------------------------
Commit 0db2dc9fc3466051869bbf7ad8b2961405554d80 in nifi's branch
refs/heads/master from [~JPercivall]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=0db2dc9 ]
NIFI-1405 Adding option to invokeHttp to control using chunked encoding for
http PUT and POST calls
Signed-off-by: Aldrin Piri <[email protected]>
> InvokeHttp always uses Chunked Encoding for POST/PUT calls
> ----------------------------------------------------------
>
> Key: NIFI-1405
> URL: https://issues.apache.org/jira/browse/NIFI-1405
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 0.4.1
> Reporter: Joseph Percivall
> Assignee: Joseph Percivall
> Fix For: 0.5.0
>
> Attachments:
> 0001-NIFI-1405-Adding-option-to-invokeHttp-to-control-usi.patch
>
>
> Following an email thread on the dev mailing list, InvokeHttp currently
> forces chunked encoding because the content length method of the request body
> is not overrided (so it returns -1).
> To fix and enable configuration, a property to "use chunked encoding" is
> necessary which will then determine whether or not to implement the content
> length method.
> This line of OkHttp is import:
> https://github.com/square/okhttp/blob/parent-2.7.1/okhttp/src/main/java/com/squareup/okhttp/Call.java#L263
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)