2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2018-12-17 22:46:56 +08:00
|
|
|
Long: http0.9
|
|
|
|
Tags: Versions
|
|
|
|
Protocols: HTTP
|
|
|
|
Help: Allow HTTP 0.9 responses
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --http0.9 $URL
|
2021-09-28 17:50:07 +08:00
|
|
|
Added: 7.64.0
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: http1.1 http2 http3
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2018-12-17 22:46:56 +08:00
|
|
|
---
|
|
|
|
Tells curl to be fine with HTTP version 0.9 response.
|
|
|
|
|
|
|
|
HTTP/0.9 is a completely headerless response and therefore you can also
|
|
|
|
connect with this to non-HTTP servers and still get a response since curl will
|
|
|
|
simply transparently downgrade - if allowed.
|
|
|
|
|
2019-08-05 15:45:23 +08:00
|
|
|
Since curl 7.66.0, HTTP/0.9 is disabled by default.
|