curl / Mailing Lists / curl-users / Single Mail
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: Feature request: Add 'content' field in -w %{json} output

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 23 Feb 2022 00:43:23 +0100 (CET)

On Tue, 22 Feb 2022, rs _ wrote:

> Then I'm asking that to be considered as a feature request. The current
> proposal for headers will be greatly appreciated but providing a way to
> access the body of the response as part of a json object would also be
> equally useful.

Maybe it could be, but I don't think it should be added to %{json} by default
since the body can be enormous. If someone wants to work on doing this and
it's done in a clean and nice way, then I don't think I would object.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-02-23