/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test378
34 строки
564 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 PUT HTTP POST </keywords> </info> # Server-side <reply> </reply> # Client-side <client> <name> Reject using -T and -d at once </name> <command> -T %LOGDIR/%TESTNUMBER -d input http://never-accessed </command> </client> # Verify data after the test has been "shot" <verify> <errorcode> 2 </errorcode> <stderr mode="text"> Warning: You can only select one HTTP request method! You asked for both PUT%SP Warning: (-T, --upload-file) and POST (-d, --data). </stderr> </verify> </testcase>