aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorBrad Harder <brad.harder@gmail.com>2014-11-20 10:27:09 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-11-20 10:27:09 +0100
commit416cd9ac11af4045a4bfcd16ad3fffc20b0d3cd7 (patch)
tree173f288b6ec1e612f91cf1427b939c6fad29897a /docs/libcurl
parent804e462305ccd7d5233d6b0f7d8caa627aef1664 (diff)
CURLOPT_POSTFIELDS.3: mention the COPYPOSTFIELDS option
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/opts/CURLOPT_POSTFIELDS.32
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/libcurl/opts/CURLOPT_POSTFIELDS.3 b/docs/libcurl/opts/CURLOPT_POSTFIELDS.3
index d3a9ec3d1..d55914308 100644
--- a/docs/libcurl/opts/CURLOPT_POSTFIELDS.3
+++ b/docs/libcurl/opts/CURLOPT_POSTFIELDS.3
@@ -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