xref: /curl/tests/data/test338 (revision 3fd80c7b)
1<testcase>
2# See https://github.com/curl/curl/issues/4499
3<info>
4<keywords>
5HTTP
6HTTP GET
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK
15Date: Tue, 09 Nov 2010 14:49:00 GMT
16Server: test-server/fake
17Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
18ETag: "21025-dc7-39462498"
19Accept-Ranges: bytes
20Content-Length: 6
21Content-Type: text/html
22Funny-head: yesyes
23
24-foo-
25</data>
26<servercmd>
27connection-monitor
28</servercmd>
29</reply>
30
31#
32# Client-side
33<client>
34<server>
35http
36</server>
37<name>
38ANYAUTH connection reuse of non-authed connection
39</name>
40<command>
41http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER --anyauth -u foo:moo
42</command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48<protocol>
49GET /%TESTNUMBER HTTP/1.1
50Host: %HOSTIP:%HTTPPORT
51User-Agent: curl/%VERSION
52Accept: */*
53
54GET /%TESTNUMBER HTTP/1.1
55Host: %HOSTIP:%HTTPPORT
56User-Agent: curl/%VERSION
57Accept: */*
58
59[DISCONNECT]
60</protocol>
61</verify>
62</testcase>
63