mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
libcurl docs: reduce 'since ...' in descriptions
Reduce mentions of libcurl versions like "since 7.xx ..." in option descriptions to reduce clutter and make the texts easier to read. Keep them in, or move them to, the HISTORY or DEPRECATED sections The last version 7 release (7.88.1) shipped on Februrary 20, 2023. Closes #20369
This commit is contained in:
parent
d7bbc78360
commit
2c6f13093e
16 changed files with 66 additions and 55 deletions
|
|
@ -52,10 +52,10 @@ You can disable this header with CURLOPT_HTTPHEADER(3) as usual.
|
|||
|
||||
If you use POST to an HTTP 1.1 server, you can send data without knowing the
|
||||
size before starting the POST if you use chunked encoding. You enable this by
|
||||
adding a header like "Transfer-Encoding: chunked" with
|
||||
CURLOPT_HTTPHEADER(3). With HTTP 1.0 or without chunked transfer, you
|
||||
must specify the size in the request. (Since 7.66.0, libcurl automatically
|
||||
uses chunked encoding for POSTs if the size is unknown.)
|
||||
adding a header like "Transfer-Encoding: chunked" with CURLOPT_HTTPHEADER(3).
|
||||
With HTTP 1.0 or without chunked transfer, you must specify the size in the
|
||||
request. libcurl automatically uses chunked encoding for POSTs if the size is
|
||||
unknown.
|
||||
|
||||
When setting CURLOPT_POST(3) to 1, libcurl automatically sets
|
||||
CURLOPT_NOBODY(3) and CURLOPT_HTTPGET(3) to 0.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue