xref: /aosp_15_r20/external/curl/docs/cmdline-opts/http0.9.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: http0.9
5*6236dae4SAndroid Build Coastguard WorkerTags: Versions
6*6236dae4SAndroid Build Coastguard WorkerProtocols: HTTP
7*6236dae4SAndroid Build Coastguard WorkerHelp: Allow HTTP 0.9 responses
8*6236dae4SAndroid Build Coastguard WorkerCategory: http
9*6236dae4SAndroid Build Coastguard WorkerAdded: 7.64.0
10*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - http1.1
13*6236dae4SAndroid Build Coastguard Worker  - http2
14*6236dae4SAndroid Build Coastguard Worker  - http3
15*6236dae4SAndroid Build Coastguard WorkerExample:
16*6236dae4SAndroid Build Coastguard Worker  - --http0.9 $URL
17*6236dae4SAndroid Build Coastguard Worker---
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Worker# `--http0.9`
20*6236dae4SAndroid Build Coastguard Worker
21*6236dae4SAndroid Build Coastguard WorkerAccept an HTTP version 0.9 response.
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard WorkerHTTP/0.9 is a response without headers and therefore you can also connect with
24*6236dae4SAndroid Build Coastguard Workerthis to non-HTTP servers and still get a response since curl simply
25*6236dae4SAndroid Build Coastguard Workertransparently downgrades - if allowed.
26*6236dae4SAndroid Build Coastguard Worker
27*6236dae4SAndroid Build Coastguard WorkerHTTP/0.9 is disabled by default (added in 7.66.0)
28