curl-library
Re: your mail
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 18 Apr 2017 17:16:58 +0200 (CEST)
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
> https://192.168.135.22/login.cgi -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.
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2017-04-18