include.d 627 B

12345678910111213141516171819
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: include
  4. Short: i
  5. Help: Include protocol response headers in the output
  6. See-also: verbose
  7. Category: important verbose
  8. Example: -i $URL
  9. Added: 4.8
  10. Multi: boolean
  11. ---
  12. Include the HTTP response headers in the output. The HTTP response headers can
  13. include things like server name, cookies, date of the document, HTTP version
  14. and more...
  15. To view the request headers, consider the --verbose option.
  16. Prior to 7.75.0 curl did not print the headers if --fail was used in
  17. combination with this option and there was error reported by server.