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> 7 HTTP 8 HTTP GET 9 </keywords> 10 </info> 11 12 # 13 # Server-side 14 <reply> 15 <data> 16 HTTP/1.1 102 unexpected huh?! 17 18 HTTP/1.1 200 OK 19 Date: Thu, 09 Nov 2010 14:49:00 GMT 20 Server: test-server/fake 21 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 22 ETag: "21025-dc7-39462498" 23 Accept-Ranges: bytes 24 Content-Length: 6 25 Connection: close 26 Content-Type: text/html 27 Funny-head: yesyes 28 29 -foo- 30 </data> 31 </reply> 32 33 # 34 # Client-side 35 <client> 36 <server> 37 http 38 </server> 39 <name> 40 HTTP GET with 102 response! 41 </name> 42 <command> 43 http://%HOSTIP:%HTTPPORT/1033 44 </command> 45 </client> 46 47 # 48 # Verify data after the test has been "shot" 49 <verify> 50 <strip> 51 ^User-Agent:.* 52 </strip> 53 <protocol> 54 GET /1033 HTTP/1.1 55 Host: %HOSTIP:%HTTPPORT 56 Accept: */* 57 58 </protocol> 59 </verify> 60 </testcase> 61