/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test3401
55 строк
907 B
Dave Walker
cookie: use origin scheme for secure context check
15 июн 2026, 23:30
Не верифицирован
15 июн 2026, 23:30
b9702f8
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> HTTP HTTPS proxy cookies Secure </keywords> </info> # Server-side <reply> <data crlf="headers"> HTTP/1.1 200 OK Content-Length: 4 foo </data> </reply> # Client-side <client> <server> http https-proxy </server> <features> HTTPS-proxy cookies </features> <name> HTTP via HTTPS proxy does not send Secure cookies </name> <command> -x https://%HOSTIP:%HTTPSPROXYPORT --proxy-insecure -b %LOGDIR/jar%TESTNUMBER.txt http://test.example/%TESTNUMBER </command> <file name="%LOGDIR/jar%TESTNUMBER.txt"> # Netscape HTTP Cookie File test.example FALSE / TRUE 9999999999 session secret </file> </client> # Verify data after the test has been "shot" <verify> <proxy crlf="headers"> GET http://test.example/%TESTNUMBER HTTP/1.1 Host: test.example User-Agent: curl/%VERSION Accept: */* Proxy-Connection: Keep-Alive </proxy> </verify> </testcase>