cURL请求中-vvv选项的含义是什么
发布时间:2020-12-14 02:23:49 所属栏目:Linux 来源:网络整理
导读:根据cURL文档 http://curl.haxx.se/docs/manpage.html -v,–verbose Makes the fetching more verbose/talkative. 但我遇到了 curl -vvv -u name@foo.com:password http://www.example.com -v和-vvv有什么区别? 解决方法 tl; dr:-v和-vvv之间没有区别. Spe
根据cURL文档
http://curl.haxx.se/docs/manpage.html
但我遇到了 curl -vvv -u name@foo.com:password http://www.example.com -v和-vvv有什么区别? 解决方法
tl; dr:-v和-vvv之间没有区别.
这是真的,例如像memcached这样的软件: -v verbose (print errors/warnings while in event loop) -vv very verbose (also print client commands/reponses) -vvv extremely verbose (also print internal state transitions) (幕后选项解析器accumulates the level of verbosity). 但是使用curl命令行工具并非如此.从tool_getparam.c可以看出,传递-v只是将所谓的跟踪类型切换为TRACE_PLAIN.传递-vv或-vvv也是如此. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容