curl / Mailing Lists / curl-library / Single Mail


Re: your mail

From: Daniel Stenberg <>
Date: Tue, 18 Apr 2017 17:16:58 +0200 (CEST)

On Tue, 18 Apr 2017, Greg Stewart via curl-library wrote:

> curl -F uri='' -F username=ubnt -F password=ubnt
> -k --trace-ascii logfile.txt --cookie-jar
> cookies.txt --location

That looks fine. The clue here is:

> 0000: HTTP/1.1 417 Expectation Failed

This server seems to be a bit stupid so you probably need to disable the
Expect: header that the above command line sends by default. Add this:

  -H Expect:

... it makes curl disable the use of that header in the request.

Received on 2017-04-18