esp_http_client chunked REQUEST
Posted: Fri Dec 07, 2018 8:18 pm
Is it possible to send a chunked request with the esp_http_client API?
I'd like to send the request (POST) and headers (including Transfer-Encoding: chunked) and then be able to send the data in chunks, such as:
send_chunk(ptr1, len1);
send_chunk(ptr1, len2);
...
send_chunk(ptrN, lenN);
send_chunk(NULL, 0);
Do I need to roll my own version of the esp_http_client_perform to do this using the _write to send the chunk header and the data?
Thanks.
I'd like to send the request (POST) and headers (including Transfer-Encoding: chunked) and then be able to send the data in chunks, such as:
send_chunk(ptr1, len1);
send_chunk(ptr1, len2);
...
send_chunk(ptrN, lenN);
send_chunk(NULL, 0);
Do I need to roll my own version of the esp_http_client_perform to do this using the _write to send the chunk header and the data?
Thanks.