xref: /curl/tests/data/test2086 (revision ebce0e7e)
1<testcase>
2<info>
3<keywords>
4HTTP
5IPv6
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<data nocheck="yes">
12HTTP/1.1 200 OK
13Date: Tue, 09 Nov 2010 14:49:00 GMT
14Server: test-server/fake
15Content-Type: text/html
16Content-Length: 0
17
18</data>
19</reply>
20
21# Client-side
22<client>
23<server>
24http-ipv6
25</server>
26
27<name>
28Pre-request callback for HTTP IPv6
29</name>
30<tool>
31libprereq
32</tool>
33
34<command>
35%HOST6IP:%HTTP6PORT/%TESTNUMBER#ipv6
36</command>
37<setenv>
38# Needed for MSYS2 to not treat the URL as a path list
39MSYS2_ARG_CONV_EXCL=*
40</setenv>
41</client>
42
43# Verify data after the test has been "shot"
44<verify>
45<stripfile>
46s/^Local port = \d+/Local port = stripped/
47</stripfile>
48<stdout>
49Connected to %HOST6IP
50Connected from %CLIENT6IP
51Remote port = %HTTP6PORT
52Local port = stripped
53Returning = 0
54</stdout>
55</verify>
56</testcase>
57