<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Trying to send a PostHTTP in NiFi with a &amp;quot;non-chunked&amp;quot; payload. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Trying-to-send-a-PostHTTP-in-NiFi-with-a-quot-non-chunked/m-p/103233#M15507</link>
    <description>&lt;P&gt;I am trying to create a POST in Nifi, which carries a standard non-chunked payload.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is a POST request that works:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;POST / HTTP/1.1 Host: 127.0.0.1:8085 User-Agent: curl/7.43.0 Accept: */* Content-Length: 60 Content-Type: application/x-www-form-urlencoded client_id=test_id&amp;amp;secret=test_secret&amp;amp;access_token=test_wells &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Here is the POST request created in Nifi using PostHTTP&lt;/STRONG&gt;.  The setting are "Send as FlowFile" is false; "Use chunked encoding" is false.  Why does the POST below show chunked encoding to be enabled?&lt;/P&gt;&lt;PRE&gt;POST / HTTP/1.1 
Content-Type: application/x-www-form-urlencoded 
x-prefer-acknowledge-uri: true 
x-nifi-transfer-protocol-version: 3 
x-nifi-transaction-id: 22297370-a69e-4210-b872-f010c2046c50 
Transfer-Encoding: &lt;STRONG&gt;chunked
&lt;/STRONG&gt;Host: 127.0.0.1:8085 
Connection: Keep-Alive 
User-Agent: Apache-HttpClient/4.4.1 (Java/1.7.0_79) 
3c 
client_id=test_id&amp;amp;secret=test_secret&amp;amp;access_token=test_wells&lt;/PRE&gt;</description>
    <pubDate>Wed, 20 Jan 2016 02:28:55 GMT</pubDate>
    <dc:creator>richard2</dc:creator>
    <dc:date>2016-01-20T02:28:55Z</dc:date>
    <item>
      <title>Trying to send a PostHTTP in NiFi with a "non-chunked" payload.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Trying-to-send-a-PostHTTP-in-NiFi-with-a-quot-non-chunked/m-p/103233#M15507</link>
      <description>&lt;P&gt;I am trying to create a POST in Nifi, which carries a standard non-chunked payload.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is a POST request that works:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;POST / HTTP/1.1 Host: 127.0.0.1:8085 User-Agent: curl/7.43.0 Accept: */* Content-Length: 60 Content-Type: application/x-www-form-urlencoded client_id=test_id&amp;amp;secret=test_secret&amp;amp;access_token=test_wells &lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Here is the POST request created in Nifi using PostHTTP&lt;/STRONG&gt;.  The setting are "Send as FlowFile" is false; "Use chunked encoding" is false.  Why does the POST below show chunked encoding to be enabled?&lt;/P&gt;&lt;PRE&gt;POST / HTTP/1.1 
Content-Type: application/x-www-form-urlencoded 
x-prefer-acknowledge-uri: true 
x-nifi-transfer-protocol-version: 3 
x-nifi-transaction-id: 22297370-a69e-4210-b872-f010c2046c50 
Transfer-Encoding: &lt;STRONG&gt;chunked
&lt;/STRONG&gt;Host: 127.0.0.1:8085 
Connection: Keep-Alive 
User-Agent: Apache-HttpClient/4.4.1 (Java/1.7.0_79) 
3c 
client_id=test_id&amp;amp;secret=test_secret&amp;amp;access_token=test_wells&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jan 2016 02:28:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Trying-to-send-a-PostHTTP-in-NiFi-with-a-quot-non-chunked/m-p/103233#M15507</guid>
      <dc:creator>richard2</dc:creator>
      <dc:date>2016-01-20T02:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to send a PostHTTP in NiFi with a "non-chunked" payload.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Trying-to-send-a-PostHTTP-in-NiFi-with-a-quot-non-chunked/m-p/103234#M15508</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;You've run into a bug.  &lt;A href="https://issues.apache.org/jira/browse/NIFI-1396" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-1396&lt;/A&gt;, &lt;A href="https://issues.apache.org/jira/browse/NIFI-21" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-21&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Has been around for quite a while but someone else ran into recently.  Should be sorted soon but if you're interested in contributing a fix please let us know.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 13:15:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Trying-to-send-a-PostHTTP-in-NiFi-with-a-quot-non-chunked/m-p/103234#M15508</guid>
      <dc:creator>JoeWitt</dc:creator>
      <dc:date>2016-01-21T13:15:38Z</dc:date>
    </item>
  </channel>
</rss>

