xref: /curl/tests/data/test301 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTPS
5HTTP GET
6HTTP Basic auth
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK swsclose
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Server: test-server/fake
17Content-Type: text/html
18Funny-head: yesyes
19
20</data>
21</reply>
22
23#
24# Client-side
25<client>
26<features>
27SSL
28</features>
29<server>
30https
31</server>
32<name>
33HTTPS GET with user and password
34</name>
35<command>
36-k -u fake:user https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<protocol>
44GET /%TESTNUMBER HTTP/1.1
45Host: %HOSTIP:%HTTPSPORT
46Authorization: Basic ZmFrZTp1c2Vy
47User-Agent: curl/%VERSION
48Accept: */*
49
50</protocol>
51<data>
52[insert full protocol verifiction dump here]
53</data>
54</verify>
55</testcase>
56