diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-03-14 14:37:16 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-03-14 14:37:16 +0000 |
commit | 7886f120f3cf98c337386f335ce67e85714620b6 (patch) | |
tree | 51faf652a09f11b3477772f2d9f3b82de970b9d2 | |
parent | 76fe69b133f2b9b96cd08da409496e36dc75796e (diff) |
CURLOPT_POST deserved a new comment with the new POST-by-callback support
-rw-r--r-- | lib/url.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -634,8 +634,9 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) data->set.use_port = va_arg(param, long); break; case CURLOPT_POST: - /* Does this option serve a purpose anymore? */ - + /* Does this option serve a purpose anymore? Yes it does, when + CURLOPT_POSTFIELDS isn't used and the POST data is read off the + callback! */ if(va_arg(param, long)) data->set.httpreq = HTTPREQ_POST; break; |