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

PostHTTP does not always honor chunked encoding setting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Extensions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jpercivall Joe Percivall
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: