cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: session hangs, suppress "Expect: 100-continue"?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 6 Oct 2006 23:31:08 +0200 (CEST)

On Fri, 6 Oct 2006, clemens fischer wrote:

> Is there a way to suppress command line curls sending an "Expect;
> 100-continue" header when using the `-F' or `--form-string' options?

-H "Expect:"

> also, given the following submit buttons:
>
> <input type="submit" value="Send Spam Report(s) Now">
>
> <input type="submit" name="preview" value="Preview Reports">
> <input type="submit" name="cancel" value="Cancel">
>
> i know for submitting thru "preview" or "cancel" i must send their
> name/value pairs as "-F name=value", but i don't use them. is there any
> requirement to send form-data for the first case (type "submit" value="Send
> Spam Report(s) Now")?

First, it would be easy for you to check what your browser sends...

But no, it has no name property so it can't be sent off in the post.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-10-06

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET