Skip to main content
--http0.9 behaves differently.
Source Link
Stephen Kitt
  • 481.4k
  • 60
  • 1.2k
  • 1.4k

You can’t ask curl to try all available protocols for a single request, but you can force it to use a specific version of HTTP:

curl --http1.1 "https://www.aeromexico.com/en-us/am-news/new-Rome-route" -s --trace-ascii -

The available variants are --http0.9, --http1.0 (or -0), --http1.1, --http2, and --http3.

The similar --http0.9 option doesn’t force HTTP/0.9, it only tells curl to accept 0.9 (headerless) connections.

You can’t ask curl to try all available protocols for a single request, but you can force it to use a specific version of HTTP:

curl --http1.1 "https://www.aeromexico.com/en-us/am-news/new-Rome-route" -s --trace-ascii -

The available variants are --http0.9, --http1.0 (or -0), --http1.1, --http2, and --http3.

You can’t ask curl to try all available protocols for a single request, but you can force it to use a specific version of HTTP:

curl --http1.1 "https://www.aeromexico.com/en-us/am-news/new-Rome-route" -s --trace-ascii -

The available variants are --http1.0 (or -0), --http1.1, --http2, and --http3.

The similar --http0.9 option doesn’t force HTTP/0.9, it only tells curl to accept 0.9 (headerless) connections.

Source Link
Stephen Kitt
  • 481.4k
  • 60
  • 1.2k
  • 1.4k

You can’t ask curl to try all available protocols for a single request, but you can force it to use a specific version of HTTP:

curl --http1.1 "https://www.aeromexico.com/en-us/am-news/new-Rome-route" -s --trace-ascii -

The available variants are --http0.9, --http1.0 (or -0), --http1.1, --http2, and --http3.