cURL / Mailing Lists / curl-library / Single Mail

curl-library

set custom http header with no value without quote

From: Yoshinari Takaoka <mumumu_at_mumumu.org>
Date: Tue, 18 Aug 2009 14:14:37 +0900

Hi, all.

I want to add http header with no content "without quotes" like
"Header_Foo:".
But as far as I look into manual and libcurl sources, I could not
find any
  way to do so. To add a http header with no content, I must make the
content be two quotes: "".

Only way to do so is to customize libcurl source(lib/http.c) directly?
Or any workaround exists?

Best Regards.
Received on 2009-08-18