mirror of
https://github.com/curl/curl.git
synced 2026-08-26 06:43:31 +03:00
HTTP IPv6 support added to the test suite
This commit is contained in:
parent
1b8ac7c6b5
commit
9b3b7ad22e
11 changed files with 308 additions and 39 deletions
44
tests/data/test241
Normal file
44
tests/data/test241
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
Content-Length: 6
|
||||
|
||||
hello
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<features>
|
||||
ipv6
|
||||
</features>
|
||||
<server>
|
||||
http-ipv6
|
||||
</server>
|
||||
<name>
|
||||
HTTP-IPv6 GET (using ip6-localhost)
|
||||
</name>
|
||||
<command>
|
||||
-g "http://ip6-localhost:%HTTP6PORT/241"
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
^User-Agent:
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /241 HTTP/1.1
|
||||
Host: ip6-localhost:%HTTP6PORT
|
||||
Pragma: no-cache
|
||||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
</verify>
|
||||
Loading…
Add table
Add a link
Reference in a new issue