xref: /curl/tests/data/test367 (revision 87907d56)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6Basic
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK
15Content-Length: 6
16Connection: close
17
18-foo-
19</data>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26http
27</server>
28<name>
29Empty user name provided in URL
30</name>
31<command>
32http://:example@%HOSTIP:%HTTPPORT/%TESTNUMBER
33</command>
34</client>
35
36#
37# Verify data after the test has been "shot"
38<verify>
39<protocol>
40GET /%TESTNUMBER HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42Authorization: Basic OmV4YW1wbGU=
43User-Agent: curl/%VERSION
44Accept: */*
45
46</protocol>
47</verify>
48</testcase>
49