cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: message not sent?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 2 Mar 2005 23:19:43 +0100 (CET)

On Wed, 23 Feb 2005, Nayeem Syed wrote:

> If I set curl to verbose mode and try doing a post request I seem to be
> getting "Expect: 100-continue" header added in place of my message body.

No, you're not. That is a perfectly valid header and it is placed as a header
too.

> As a result I get nothing back from the server I connect to as it expects
> something in the contents to parse and reply.

Yes, it expects a "100 Continue" and judging by your trace, it gets that.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-03-02