mirror of
https://github.com/curl/curl.git
synced 2026-08-25 09:53:32 +03:00
parent
b41c28e70a
commit
f0f84d1251
3 changed files with 10 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ Curl_compareheader unit test
|
|||
|
||||
<verify>
|
||||
<stdout mode="text">
|
||||
31 invokes
|
||||
33 invokes
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -102,6 +102,11 @@ static CURLcode test_unit1625(const char *arg)
|
|||
{ "Encoding: super-nice", "Encoding:", "super-nice", TRUE },
|
||||
/* hyphenated second token */
|
||||
{ "Encoding: extra-good, super-nice", "Encoding:", "super-nice", TRUE },
|
||||
/* trailing blanks after the last comma */
|
||||
{ "Encoding: gzipped, ", "Encoding:", "gzip", FALSE },
|
||||
/* the scan must not cross into a second line */
|
||||
{ "Encoding: gzipped, \r\nEncoding: gzip, chunked", "Encoding:",
|
||||
"chunked", FALSE },
|
||||
};
|
||||
|
||||
for(i = 0; i < CURL_ARRAYSIZE(list); i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue