xref: /curl/tests/data/test307 (revision 31a29fc6)
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>
32%PERL %SRCDIR/libtest/test%TESTNUMBER.pl %CURL
33</precheck>
34
35<name>
36simple HTTPS GET with openssl engine
37</name>
38<command>
39--engine openssl -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
40</command>
41</client>
42
43#
44# Verify data after the test has been "shot"
45<verify>
46<protocol>
47GET /%TESTNUMBER HTTP/1.1
48Host: %HOSTIP:%HTTPSPORT
49User-Agent: curl/%VERSION
50Accept: */*
51
52</protocol>
53</verify>
54</testcase>
55