/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test1183
49 строк
702 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 crlf="headers"> HTTP/1.1 200 OK Server: Blafasel/5.0 Date: Sat, 16 Jan 2021 14:48:30 GMT Content-Length: 12 Bla bla bla </data> </reply> # Client-side <client> <server> http </server> <features> proxy </features> <name> %TESTNUMBER used instead of actual test number </name> <command> http://%HOSTIP:%HTTPPORT/%TESTNUMBER </command> </client> # Verify that the %TESTNUMBER has been resolved to %TESTNUMBER <verify> <protocol crlf="headers"> GET /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* </protocol> </verify> </testcase>