gpt4 book ai didi

libcurl - 如何使用curl_easy设置--compressedcurl命令选项?

转载 作者:行者123 更新时间:2023-12-03 08:51:41 26 4
gpt4 key购买 nike

当我运行 curl --help 时,我看到以下选项可用:

--compressed Request compressed response (using deflate or gzip)

但是,当我访问documentation时在curl_easy的setopt命令中,我没有看到传递此压缩标志的选项。

如何使用 curl_easy_setopt 设置 --compressed

最佳答案

--compressed 相当于 CURLOPT_ACCEPT_ENCODING

关于libcurl - 如何使用curl_easy设置--compressedcurl命令选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58599968/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com