cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: warp kawada <warp.kawada_at_gmail.com>
Date: Thu, 1 Sep 2011 17:07:43 +0900

I attach patch file no-value-header.patch to this mail.
My modifications is below.

# modified: docs/curl.1
# modified: lib/http.c
# modified: tests/data/Makefile.am
# modified: tests/libtest/Makefile.inc
#
# newfile: tests/data/test587
# newfile: tests/libtest/lib587.c

curl.1
       -H, --header <header>
                     :
       If you send the custom header with no-value then its
       header must terminate by semicolon. in: -H "X-Custom-Header;"
        is to send "X-Custom-Header:".

Please tell me my inadequate part if it were.

Regards,
Thank you.

2011/8/29 Daniel Stenberg <daniel_at_haxx.se>:
> On Mon, 29 Aug 2011, warp kawada wrote:
>
>> here you are.
>
> Thanks, but...
>
> 1 - now you're top-posting which we don't like
>
> 2 - that isn't a patch so it is not easily applyable in our ends
>
> 3 - it'd be great if you also considered adding a suitable note about this
>    news to the docs and...
>
> 4 - we need at least one decent test case to verify this functionality

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2011-09-01