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