aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/post-callback.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-08 14:14:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-08 14:14:26 +0000
commit821302bcf3cb608b2f29dffc757f5152cbe63a39 (patch)
treef1e10caa5b943b1a7c189ae007fc25ae7e5947a3 /docs/examples/post-callback.c
parentf68219ddaab9dab05a195a6fd126b4edb5ecccdc (diff)
removed old version checks
Diffstat (limited to 'docs/examples/post-callback.c')
-rw-r--r--docs/examples/post-callback.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/examples/post-callback.c b/docs/examples/post-callback.c
index eda878677..76d1e1ba5 100644
--- a/docs/examples/post-callback.c
+++ b/docs/examples/post-callback.c
@@ -10,21 +10,11 @@
* An example source code that issues a HTTP POST and we provide the actual
* data through a read callback.
*
- * Please be aware of the fact that the size of the posted data MUST be
- * specified before the transfer is being made (with CURLOPT_POSTFIELDSIZE).
- * This requirement will change when libcurl starts supporting chunked-encoded
- * sends.
- *
- * This example requires libcurl 7.9.6 or later.
*/
#include <stdio.h>
#include <string.h>
#include <curl/curl.h>
-#if LIBCURL_VERSION_NUM < 0x070906
-#error this example source requires libcurl 7.9.6 or newer
-#endif
-
char data[]="this is what we post to the silly web server";
struct WriteThis {