/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test2008
50 строк
774 B
Fabian Keil
tests: add the "--resolve" keyword to tests that lack it
12 июн 2026, 00:10
Не верифицирован
12 июн 2026, 00:10
244834d
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> HTTP -G --proto-default --resolve </keywords> </info> # Server-side <reply> <data crlf="headers"> HTTP/1.1 200 OK Content-Length: 6 Funny-head: yesyes -foo- </data> </reply> # Client-side <client> <features> proxy </features> <server> http </server> <name> -G with --proto-default=http and scheme-less URL starting with "ftp" </name> <command> ftp.test --proto-default=http --resolve ftp.test:80:%HOSTIP -G -d hello -x http://%HOSTIP:%HTTPPORT/ </command> </client> # Verify data after the test has been "shot" <verify> <protocol crlf="headers"> GET http://ftp.test/?hello HTTP/1.1 Host: ftp.test User-Agent: curl/%VERSION Accept: */* Proxy-Connection: Keep-Alive </protocol> </verify> </testcase>