curl-users
Re: A small nudge to fix a frequent -X misuse?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 Nov 2015 15:58:59 +0100 (CET)
Date: Mon, 23 Nov 2015 15:58:59 +0100 (CET)
On Sat, 21 Nov 2015, SpaceOne wrote:
> I just stumbled on this message for the first time as I upgraded my curl.
> "/Warning: Setting custom HTTP method to HEAD may not work the way you
> want. "
> /
> Users who see this don't understand what is meant by this.
Good that you ask then. I can't write a definite and detaied text there that
tells you exactly what the problem is and how to fix it since you may actually
want to do exactly what you ask of curl - hence it is just a warning.
So what exactly do you want to do?
> I also don't know what to do now. I tried using "-is" but this does a GET
> request again.
Yes, -I (--head) is the option to ask for a HEAD request.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-11-23