/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test5000
57 строк
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 CURLOPT_HTTPSIG_ALGORITHM RFC9421 </keywords> </info> # Server-side <reply> <data nocheck="yes"> HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Type: text/html Content-Length: 0 </data> </reply> # Client-side <client> <server> http </server> # this relies on the Debug feature which allows tests to set the time <features> Debug httpsig </features> <name> httpsig: basic GET with Ed25519 </name> <tool> lib%TESTNUMBER </tool> <command> http://example.com:9000/%TESTNUMBER/resource example.com:9000:%HOSTIP:%HTTPPORT </command> </client> # Verify data after the test has been "shot" <verify> <protocol crlf="headers"> GET /%TESTNUMBER/resource HTTP/1.1 Host: example.com:9000 Signature-Input: sig1=("@method" "@authority" "@path");created=0;keyid="test-key-ed25519";alg="ed25519" Signature: sig1=:Olp3ugYSVwc47PTNBMrkV2P+8p5w2VPFzURxNaG44UA2On6OFG2FzFLEl8QEN1khiOdRNlFDouZsOwpJoPHvBA==: Accept: */* </protocol> </verify> </testcase>