Debian Codegraph @

curl/tests/data/test24

raw
1 <info>
2 <keywords>
3 HTTP
4 HTTP GET
5 </keywords>
6 </info>
7 # Server-side
8 <reply>
9 <data nocheck=1>
10 HTTP/1.0 404 BAD BOY
11 Content-Type: text/html
12
13 This silly page doesn't reaaaaaly exist so you should not get it.
14 </data>
15 </reply>
16
17 # Client-side
18 <client>
19 <server>
20 http
21 </server>
22 <name>
23 HTTP GET fail silently on HTTP error return
24 </name>
25 <command>
26 http://%HOSTIP:%HTTPPORT/24 --fail
27 </command>
28 </client>
29
30 # Verify data after the test has been "shot"
31 <verify>
32 <strip>
33 ^User-Agent: curl/.*
34 </strip>
35 <protocol>
36 GET /24 HTTP/1.1
37 User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
38 Host: 127.0.0.1:%HTTPPORT
39 Accept: */*
40
41 </protocol>
42 <errorcode>
43 22
44 </errorcode>
45 </verify>