curl: add --http1.1 and --http2.0 options

This commit is contained in:
Daniel Stenberg
2013-09-04 22:28:16 +02:00
parent d707a975f6
commit 2eabb7d590
4 changed files with 29 additions and 7 deletions

View File

@@ -100,6 +100,8 @@ static const char *const helptext[] = {
" --hostpubmd5 MD5 "
"Hex encoded MD5 string of the host public key. (SSH)",
" -0, --http1.0 Use HTTP 1.0 (H)",
" --http1.1 Use HTTP 1.1 (H)",
" --http2.0 Use HTTP 2.0 (H)",
" --ignore-content-length Ignore the HTTP Content-Length header",
" -i, --include Include protocol headers in the output (H/F)",
" -k, --insecure Allow connections to SSL sites without certs (H)",