aboutsummaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-11-11 23:11:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-11-11 23:11:04 +0000
commit59c063dfd38972e06a7f3a0b8f94860a67acdc96 (patch)
tree098346146ef5e14fe7cef289c6cdedae03ed2011 /CHANGES
parent8c16696f4714bf65e86b6b51f247e9418338f39d (diff)
Fix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST.
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES18
1 files changed, 18 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 16648d3aa..daa462aab 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,24 @@
Changelog
+Daniel (12 November 2004)
+- *** New Behaviour Alert ***
+
+ Setting CURLOPT_POSTFIELDS to NULL will no longer do a GET.
+
+ Setting CURLOPT_POSTFIELDS to "" will send a zero byte POST and setting
+ CURLOPT_POSTFIELDS to NULL and CURLOPT_POSTFIELDSIZE to zero will also make
+ a zero byte POST. Added test case 515 to verify this.
+
+ Setting CURLOPT_HTTPPOST to NULL makes a zero byte post. Added test case 516
+ to verify this.
+
+ CURLOPT_POSTFIELDSIZE must now be set to -1 to signal "we don't know".
+ Setting it to zero simply says this is a zero byte POST.
+
+ When providing POST data with a read callback, setting the size up front
+ is now made with CURLOPT_POSTFIELDSIZE and not with CURLOPT_INFILESIZE.
+
Daniel (11 November 2004)
- Dan Fandrich added --disable-verbose to the configure script to allow builds
without verbose strings in the code, to save some 12KB space. Makes sense