Curl_add_custom_headers: support headers with no data

A custom HTTP header ending in a semicolon instead of a colon
will be treated as a header to be added without any data
portion.
This commit is contained in:
warp kawada
2011-09-08 15:39:39 -07:00
committed by Dan Fandrich
parent 6790a543d4
commit aff70e2e95
4 changed files with 34 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ Curl and libcurl 7.22.1
This release includes the following changes:
o
o Empty headers can be sent in HTTP requests by terminating with a semicolon
This release includes the following bugfixes:
@@ -22,6 +22,6 @@ This release includes the following known bugs:
This release would not have looked like this without help, code, reports and
advice from friends like these:
Yukihiro Kawada
Thanks! (and sorry if I forgot to mention someone)