From 65ca5ccc86af9788d8eebec1232214cba0d19e81 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 7 Jan 2022 11:15:13 +0100 Subject: [PATCH] Add test374: gif data without new line at the end --- tests/data/Makefile.inc | 2 +- tests/data/test374 | 49 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 tests/data/test374 diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 4363de42525659..d0f2a7180603dc 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -61,7 +61,7 @@ test334 test335 test336 test337 test338 test339 test340 test341 test342 \ test343 test344 test345 test346 test347 test348 test349 test350 test351 \ test352 test353 test354 test355 test356 test357 test358 test359 test360 \ test361 test362 test363 test364 test365 test366 test367 test368 test369 \ -test370 test371 test372 test373 \ +test370 test371 test372 test373 test374 \ \ test380 test381 \ test392 test393 test394 test395 test396 test397 \ diff --git a/tests/data/test374 b/tests/data/test374 new file mode 100644 index 00000000000000..d85bb7855f6a95 --- /dev/null +++ b/tests/data/test374 @@ -0,0 +1,49 @@ + + + +HTTP +HTTP GET +gif data + + + + + +HTTP/1.1 200 OK +Date: Thu, 22 Jul 2010 11:22:33 GMT +Connection: close +Content-Type: image/gif +X-Control: swsclose + +%hex[%47%49%46%38%39%61%14%00%14%00%a1%04%00%fe%00%00%ff%00%00%1e%42%ee%1f%42%ef%21%ff%0b%4e%45%54%53%43%41%50%45%32%2e%30%03%01%00%00%00%21%fe%24%43%72%65%61%74%65%64%20%62%79%20%46%61%62%69%61%6e%20%4b%65%69%6c%20%77%69%74%68%20%54%68%65%20%47%49%4d%50%00%21%f9%04%00%0a%00%ff%00%2c%00%00%00%00%14%00%14%00%00%02%11%8c%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%21%f9%04%01%0a%00%02%00%2c%00%00%00%00%14%00%14%00%00%02%11%9c%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%21%f9%04%00%0a%00%ff%00%2c%00%00%00%00%14%00%14%00%00%02%11%94%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%21%f9%04%00%0a%00%ff%00%2c%00%00%00%00%14%00%14%00%00%02%11%84%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%3b]hex% + + + + + +http + + +Valid gif with two frames. No new line in data section. + + +proxy + + +http://%HOSTIP:%HTTPPORT/gif/%TESTNUMBER + + + + + +GET /gif/%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + + +0 + + +