/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test2311
58 строк
1 KB
Daniel Stenberg
tests: keep test names shorter than 70 columns
06 авг 2026, 15:31
Не верифицирован
06 авг 2026, 15:31
b571628
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> HTTP HTTP GET HTTP proxy cookies </keywords> </info> # Server-side <reply> <data crlf="headers"> HTTP/1.1 200 OK Server: test-server/fake Content-Length: 21 This server says moo </data> </reply> # Client-side <client> <server> http </server> <name> Cookie from file: control octet rejected, prefixes case sensitive </name> <command> http://example.fake/%TESTNUMBER -b %LOGDIR/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT </command> <file name="%LOGDIR/injar%TESTNUMBER"> example.fake FALSE / FALSE 0 clean good example.fake FALSE / FALSE 0 bad %hex[ba%07d]hex% example.fake FALSE / FALSE 0 __secure-x yes example.fake FALSE / FALSE 0 __Secure-y no </file> <features> cookies proxy </features> </client> # Verify data after the test has been "shot" <verify> <protocol crlf="headers"> GET http://example.fake/%TESTNUMBER HTTP/1.1 Host: example.fake User-Agent: curl/%VERSION Accept: */* Proxy-Connection: Keep-Alive Cookie: __secure-x=yes; clean=good </protocol> </verify> </testcase>