/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test326
62 строки
917 B
Viktor Szakats
tests/data: add XML prolog to test files
12 дек 2025, 19:17
Не верифицирован
12 дек 2025, 19:17
b5ea073
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> HTTP HTTP GET </keywords> </info> # Server-side <reply> <data> HTTP/1.1 200 OK%CR Date: Mon, 29 Nov 2004 21:56:53 GMT%CR Server: Apache/1.3.31 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.9-1 mod_ssl/2.8.20 OpenSSL/0.9.7d mod_perl/1.29%CR Content-Type: text/html; charset=ISO-8859-1%CR Transfer-Encoding: chunked%CR %CR 18%CR line 1 line 2 line 3 %CR 0%CR %CR </data> <datacheck> 18%CR line 1 line 2 line 3 %CR 0%CR %CR </datacheck> </reply> # Client-side <client> <server> http </server> <name> HTTP GET chunked data in raw mode </name> <command option="no-include"> http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw </command> </client> # Verify data after the test has been "shot" <verify> <protocol crlf="headers"> GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* </protocol> </verify> </testcase>