- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Trying to send a PostHTTP in NiFi with a "non-chunked" payload.
- Labels:
-
Apache NiFi
Created ‎01-19-2016 06:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to create a POST in Nifi, which carries a standard non-chunked payload.
Here is a POST request that works:
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&secret=test_secret&access_token=test_wells
Here is the POST request created in Nifi using PostHTTP. The setting are "Send as FlowFile" is false; "Use chunked encoding" is false. Why does the POST below show chunked encoding to be enabled?
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: chunked 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&secret=test_secret&access_token=test_wells
Created ‎01-21-2016 05:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
You've run into a bug. https://issues.apache.org/jira/browse/NIFI-1396, https://issues.apache.org/jira/browse/NIFI-21
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.
Thanks
Joe
Created ‎01-21-2016 05:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
You've run into a bug. https://issues.apache.org/jira/browse/NIFI-1396, https://issues.apache.org/jira/browse/NIFI-21
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.
Thanks
Joe
