1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 multi 7 Duplicate-header 8 </keywords> 9 </info> 10 11 # Server-side 12 <reply> 13 <data> 14 HTTP/1.1 200 all good! 15 Date: Thu, 09 Nov 2010 14:49:00 GMT 16 Server: test-server/fake 17 Content-Type: text/html 18 Content-Length: 0 19 Connection: close 20 Content-Type: changed/my/mind 21 22 </data> 23 </reply> 24 25 # Client-side 26 <client> 27 <server> 28 http 29 </server> 30 <features> 31 http 32 </features> 33 # tool is what to use instead of 'curl' 34 <tool> 35 lib507 36 </tool> 37 38 <name> 39 multi interface, multiple Content-Type: headers 40 </name> 41 <command> 42 http://%HOSTIP:%HTTPPORT/581 43 </command> 44 </client> 45 46 # Verify data after the test has been "shot" 47 <verify> 48 <strip> 49 ^User-Agent:.* 50 </strip> 51 <protocol> 52 GET /581 HTTP/1.1 53 Host: %HOSTIP:%HTTPPORT 54 Accept: */* 55 56 </protocol> 57 </verify> 58 </testcase> 59