You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2014/12/05 20:25:12 UTC

[jira] [Created] (NIFI-21) PostHTTP does not always honor chunked encoding setting

Joseph Witt created NIFI-21:
-------------------------------

             Summary: PostHTTP does not always honor chunked encoding setting
                 Key: NIFI-21
                 URL: https://issues.apache.org/jira/browse/NIFI-21
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Joseph Witt


Post http does not always honor chunked encoding setting.

>From the apache commons documentation regarding the 'setChunked' boolean value,

"public void setChunked(boolean b)

specifies the 'chunked' flag.

Note that the chunked setting is a hint only.  If using HTTP/1.0 chunking is never performed.  Otherwise, even if chunked is false, HttpClient must use chunk coding if the entity length is unknown (-1).

The default implementation sets the value of the chunked attribute."

It is believed that the Entity Content Length must be set for the chunked flag to be respected.



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