Re: Empty post!
Date: Wed, 20 Jun 2007 09:29:14 +0200 (CEST)
On Wed, 20 Jun 2007, vikram wrote:
> I've jut migrated my sources from 7.15.1 to 7.16.2, and want to add support
> for empty post in it(post with content-length zero). For old version curl I
> did changes in http.c:add_custom_headers() function to allow empty post in
> curl, which worked good. But in the new version of curl these changes
> doesn't seem to be sufficient to allow empty post.
I would say that CURLOPT_POST set to TRUE with CURLOPT_POSTFIELDS set to ""
should do an empty post. Doesn't it?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-06-20