]> granicus.if.org Git - curl/commit
CURLOPT_POSTFIELDS.3: Clarify what happens when set empty
authorJay Satiro <raysatiro@yahoo.com>
Sat, 11 Jun 2016 21:33:16 +0000 (17:33 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 11 Jun 2016 21:33:16 +0000 (17:33 -0400)
commitf77dfbc5fbb7a20f8d3ef918df35b68c0b60f1e9
treeaea39e7383948e5d3977230148f03c6ab616c4ab
parent929520582cdd3708f845af637757837b1d2a7d16
CURLOPT_POSTFIELDS.3: Clarify what happens when set empty

When CURLOPT_POSTFIELDS is set to an empty string libcurl will send a
zero-byte POST. Prior to this change it was documented as sending data
from the read callback.

This also changes the wording of what happens when empty or NULL so that
it's hopefully easier to understand for people whose primary language
isn't English.

Bug: https://github.com/curl/curl/issues/862
Reported-by: Askar Safin
docs/libcurl/opts/CURLOPT_POSTFIELDS.3