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