Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test307
blob3e74034da8befd85d0a0d0b55e04a98b9bd39e8c
1 <testcase>
2 <info>
3 <keywords>
4 HTTPS
5 HTTP GET
6 </keywords>
7 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 OK
14 Date: Tue, 16 Jan 2007 18:00:14 GMT
15 Server: test-server/fake
16 Content-Length: 7
18 MooMoo
19 </data>
20 </reply>
23 # Client-side
24 <client>
25 <features>
26 OpenSSL
27 </features>
28 <server>
29 https
30 </server>
31 <precheck>
32 perl %SRCDIR/libtest/test307.pl %CURL
33 </precheck>
35  <name>
36 simple HTTPS GET with openssl engine
37  </name>
38  <command>
39 --engine openssl -k https://%HOSTIP:%HTTPSPORT/307
40 </command>
41 </client>
44 # Verify data after the test has been "shot"
45 <verify>
46 <strip>
47 ^User-Agent:.*
48 </strip>
49 <protocol>
50 GET /307 HTTP/1.1
51 Host: %HOSTIP:%HTTPSPORT
52 Accept: */*
54 </protocol>
55 </verify>
56 </testcase>