cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Empty post!

From: vikram <vikram_at_kenati.com>
Date: Wed, 20 Jun 2007 15:28:12 +0530

Yes. My bad...:) I mentioned wrong in my mail.
Needed changes in my code only. Strangely those were working with old
curl, got it working with new now.
Thank you Daniel.

Vikram.

On Wed, 2007-06-20 at 09:29 +0200, Daniel Stenberg wrote:
> 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?
>
Received on 2007-06-20