curl-library
Re: Re: Re: Re: Re: [PATCH] allows curl to be able to send the custom headers with empty value.
From: <warp.kawada_at_gmail.com>
Date: Mon, 29 Aug 2011 03:17:51 +0000
Date: Mon, 29 Aug 2011 03:17:51 +0000
Daniel Stenberg <daniel_at_haxx.se>:
> Your patch seems to have lost all whitespaces so it looks completely
> destroyed.
I'm sorry. I don't understand what you're saying.
This patch does not affect any headers that include colon.
What situation does destroy?
> This looks for a semicolon _anywhere_ in a custom header, so a common
> thing like "Content-Type: text/html; charset=utf8;" would match.
So this "Content-Type: text/html; charset=utf 8;" never match.
Because it includes colon.
Regards,
Thank you.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-29