Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1396

PostHttp will always use Chunked Encoding

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The PostHttp processor has a boolean property for whether to set the chunked flag (header "Transfer-Encoding"). Even if the property is set to false the content will always be chunked because the content is streamed and the content length is not known. Comment on setting 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 content length is
      • unknown (-1).

      The processor needs to properly enable the chunking option which will require determining the length of the content.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jpercivall Joe Percivall
              Reporter:
              jpercivall Joe Percivall

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment