cURL / Mailing Lists / curl-library / Single Mail


Re: POSTing adds size of chunk before actual data

From: Daniel Stenberg <>
Date: Mon, 19 Aug 2013 08:45:51 +0200 (CEST)

On Mon, 19 Aug 2013, Mellberg, Bo wrote:

> 0115: Transfer-Encoding: chunked


> 0000: 17a5
> The xml-file is 6053 bytes, and as you can see curl has added a line “0000:
> 17a5”. How can I make curl NOT adding this line?

It adds the size of the first chunk (in hex) since it is doing a
chunked-encoded transfer. As you can see in the headers! Make sure you know
the size of the post beforehand and tell libcurl so that chunked encoding can
be avoided.


List admin:
Received on 2013-08-19