xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. |
| 2 | SPDX-License-Identifier: curl |
| 3 | Long: http0.9 |
| 4 | Tags: Versions |
| 5 | Protocols: HTTP |
| 6 | Help: Allow HTTP 0.9 responses |
| 7 | Category: http |
| 8 | Example: --http0.9 $URL |
| 9 | Added: 7.64.0 |
| 10 | See-also: http1.1 http2 http3 |
| 11 | Multi: boolean |
| 12 | --- |
| 13 | Tells curl to be fine with HTTP version 0.9 response. |
| 14 | |
| 15 | HTTP/0.9 is a completely headerless response and therefore you can also |
| 16 | connect with this to non-HTTP servers and still get a response since curl will |
| 17 | simply transparently downgrade - if allowed. |
| 18 | |
| 19 | Since curl 7.66.0, HTTP/0.9 is disabled by default. |