xref: /curl/tests/data/test1033 (revision 3fd80c7b)
1<testcase>
2#
3# This case with an unexpected 1xx response used to cause a "hang" before the fix
4# got 7.19.0
5<info>
6<keywords>
7HTTP
8HTTP GET
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<data>
16HTTP/1.1 102 unexpected huh?!
17
18HTTP/1.1 200 OK
19Date: Tue, 09 Nov 2010 14:49:00 GMT
20Server: test-server/fake
21Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
22ETag: "21025-dc7-39462498"
23Accept-Ranges: bytes
24Content-Length: 6
25Connection: close
26Content-Type: text/html
27Funny-head: yesyes
28
29-foo-
30</data>
31</reply>
32
33#
34# Client-side
35<client>
36<server>
37http
38</server>
39<name>
40HTTP GET with 102 response!
41</name>
42<command>
43http://%HOSTIP:%HTTPPORT/%TESTNUMBER
44</command>
45</client>
46
47#
48# Verify data after the test has been "shot"
49<verify>
50<protocol>
51GET /%TESTNUMBER HTTP/1.1
52Host: %HOSTIP:%HTTPPORT
53User-Agent: curl/%VERSION
54Accept: */*
55
56</protocol>
57</verify>
58</testcase>
59