Get length of full http response in case it is chunked
Posted: Mon Jan 23, 2023 7:22 am
Is there a way to get the full response length in case I just get chunks using the esp http client?
From the implementation it seems that client->response->chunk_length is always equal to client->response->content_length? Am I mistaken?
Use: I want to preallocate a buffer of the exact size of the response.
From the implementation it seems that client->response->chunk_length is always equal to client->response->content_length? Am I mistaken?
Use: I want to preallocate a buffer of the exact size of the response.