Skip to content

Commit

Permalink
CURLOPT_POSTFIELDS.3: mention the COPYPOSTFIELDS option
Browse files Browse the repository at this point in the history
  • Loading branch information
bch authored and bagder committed Nov 20, 2014
1 parent 804e462 commit 416cd9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/libcurl/opts/CURLOPT_POSTFIELDS.3
Expand Up @@ -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
Expand Down

0 comments on commit 416cd9a

Please sign in to comment.