• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8
9<reply>
10<data>
11HTTP/1.1 2 OK
12Date: Thu, 09 Nov 2010 14:49:00 GMT
13Server: test-server/fake
14Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
15ETag: "21025-dc7-39462498"
16Accept-Ranges: bytes
17Content-Length: 6
18Connection: close
19Content-Type: text/html
20Funny-head: yesyes
21
22-foo-
23</data>
24</reply>
25
26#
27# Client-side
28<client>
29<server>
30http
31</server>
32 <name>
33HTTP GET with single-digit response code
34 </name>
35 <command>
36http://%HOSTIP:%HTTPPORT/1431
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<strip>
44^User-Agent:.*
45</strip>
46<protocol>
47GET /1431 HTTP/1.1
48Host: %HOSTIP:%HTTPPORT
49Accept: */*
50
51</protocol>
52</verify>
53</testcase>
54