Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: The response to the http post request is split into parts

From: Daniel Stenberg via curl-and-python <curl-and-python_at_cool.haxx.se>
Date: Wed, 17 Mar 2021 11:44:07 +0100 (CET)

On Sun, 14 Mar 2021, Александр via curl-and-python wrote:

> Dividing the answer into parts does not allow me to work with json. Please
> tell me how can I use WRITEFUNCTION to handle large json?

There are two ways:

1 - wait until the entire response has arrived
2 - make your parser deal with a partial response

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/


_______________________________________________
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2021-03-17