mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:43:47 +03:00
tests: Add test for CURLOPT_HTTP200ALIASES
This commit is contained in:
parent
1b9f1f6055
commit
2c1dbc1af0
4 changed files with 112 additions and 2 deletions
|
|
@ -236,4 +236,4 @@ test2200 test2201 test2202 test2203 test2204 test2205 \
|
|||
test3000 test3001 test3002 test3003 test3004 test3005 test3006 test3007 \
|
||||
test3008 test3009 test3010 test3011 test3012 test3013 test3014 test3015 \
|
||||
test3016 test3017 test3018 test3019 test3020 test3021 test3022 test3023 \
|
||||
test3024
|
||||
test3024 test3025
|
||||
|
|
|
|||
47
tests/data/test3025
Normal file
47
tests/data/test3025
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
HTTP GET
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
ICY 200 OK
|
||||
Content-Length: 7
|
||||
|
||||
MooMoo
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
http
|
||||
</server>
|
||||
<features>
|
||||
!hyper
|
||||
</features>
|
||||
<name>
|
||||
CURLOPT_HTTP200ALIASES
|
||||
</name>
|
||||
<tool>
|
||||
lib%TESTNUMBER
|
||||
</tool>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<errorcode>
|
||||
0
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue