mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
16 lines
430 B
D
16 lines
430 B
D
Long: http0.9
|
|
Tags: Versions
|
|
Protocols: HTTP
|
|
Added:
|
|
Help: Allow HTTP 0.9 responses
|
|
Category: http
|
|
Example: --http0.9 $URL
|
|
---
|
|
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.
|
|
|
|
Since curl 7.66.0, HTTP/0.9 is disabled by default.
|