CURLOPT_POSTFIELDS.3: mention the COPYPOSTFIELDS option

This commit is contained in:
Brad Harder 2014-11-20 10:27:09 +01:00 committed by Daniel Stenberg
parent 804e462305
commit 416cd9ac11

View File

@ -35,6 +35,8 @@ way. For example, the web server may assume that this data is url-encoded.
The data pointed to is NOT copied by the library: as a consequence, it must be
preserved by the calling application until the associated transfer finishes.
This behaviour can be changed (so libcurl does copy the data) by setting the
\fICURLOPT_COPYPOSTFIELDS(3)\fP option.
This POST is a normal application/x-www-form-urlencoded kind (and libcurl will
set that Content-Type by default when this option is used), which is commonly