nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Catlin <richard.m.cat...@gmail.com>
Subject Trying to send a PostHTTP with a "non-chunked" payload.
Date Tue, 19 Jan 2016 18:37:48 GMT
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∾cess_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∾cess_token=test_wells
Mime
View raw message