关于curl:curl-v-verbose

56次阅读

共计 558 个字符,预计需要花费 2 分钟才能阅读完成。

-v, –verbose

  1. 以 ”>” 打头,示意申请头
  2. 以 ”<“ 打头,示意响应头
  3. 以 ”*” 打头,示意 curl 命令提供的额定信息。
  • Makes the fetching more verbose/talkative. Mostly useful for debugging.
  • A line starting with ‘>’ means “header data” sent by curl, ‘<‘ means “header data” received by curl that is hidden in normal cases, and a line starting with ‘*’ means additional info provided by curl.
  • Note that if you only want HTTP headers in the output, -i, –include might be the option you’re looking for.
  • If you think this option still doesn’t give you enough details, consider using –trace or –trace-ascii instead.
  • This option overrides previous uses of –trace-ascii or –trace.
  • Use -s, –silent to make curl quiet.
正文完
 0