cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: [PATCH] allows curl to be able to send the custom headers with empty value.

From: <warp.kawada_at_gmail.com>
Date: Wed, 24 Aug 2011 09:38:36 +0000

Daniel Stenberg <daniel_at_haxx.se>:
> I would then suggest that we for example allow the header to get added
> completely without a colon or possibly by using another symbol than the
> colon (semicolon?) to instruct libcurl about it. Something that there's
> zero risk an existing app would do.

> Thoughts?

Thanks for your suggestion.
OK, I see.

How about the colon + space + semicolon ?

like this

curl -v -k -X POST -H 'X-Custom: ;' http://to/

Regards,
Yukihiro KAWADA

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-24