Loading tests/data/Makefile.am +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test569 test570 test571 test572 test804 test805 test806 test807 test573 \ test313 test1115 test578 test579 test1116 test1200 test1201 test1202 \ test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \ test1303 test320 test321 test322 test323 test324 test1303 test320 test321 test322 test323 test324 test1121 test581 filecheck: @mkdir test-place; \ Loading tests/data/test1121 0 → 100644 +49 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> HTTP </keywords> </info> # # Server-side <reply> <data> HTTP/1.0 200 OK Server: test-server/fake Content-Type: text/html Content-Length: 6 blaha </data> </reply> # # Client-side <client> <server> http </server> <name> HTTP multiple provided Host: headers </name> <command> -H "Host: host1" -H "Host: host2" -H "Host: host3" http://%HOSTIP:%HTTPPORT/1121 </command> </client> # # Verify data after the test has been "shot" <verify> <strip> ^User-Agent:.* </strip> <protocol> GET /1121 HTTP/1.1 Accept: */* Host: host1 Host: host2 Host: host3 </protocol> </verify> </testcase> tests/data/test581 0 → 100644 +58 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> HTTP HTTP GET multi Duplicate-header </keywords> </info> # Server-side <reply> <data> HTTP/1.1 200 all good! Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Type: text/html Content-Length: 0 Connection: close Content-Type: changed/my/mind </data> </reply> # Client-side <client> <server> http </server> <features> http </features> # tool is what to use instead of 'curl' <tool> lib507 </tool> <name> multi interface, multiple Content-Type: headers </name> <command> http://%HOSTIP:%HTTPPORT/581 </command> </client> # Verify data after the test has been "shot" <verify> <strip> ^User-Agent:.* </strip> <protocol> GET /581 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* </protocol> </verify> </testcase> Loading
tests/data/Makefile.am +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test569 test570 test571 test572 test804 test805 test806 test807 test573 \ test313 test1115 test578 test579 test1116 test1200 test1201 test1202 \ test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \ test1303 test320 test321 test322 test323 test324 test1303 test320 test321 test322 test323 test324 test1121 test581 filecheck: @mkdir test-place; \ Loading
tests/data/test1121 0 → 100644 +49 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> HTTP </keywords> </info> # # Server-side <reply> <data> HTTP/1.0 200 OK Server: test-server/fake Content-Type: text/html Content-Length: 6 blaha </data> </reply> # # Client-side <client> <server> http </server> <name> HTTP multiple provided Host: headers </name> <command> -H "Host: host1" -H "Host: host2" -H "Host: host3" http://%HOSTIP:%HTTPPORT/1121 </command> </client> # # Verify data after the test has been "shot" <verify> <strip> ^User-Agent:.* </strip> <protocol> GET /1121 HTTP/1.1 Accept: */* Host: host1 Host: host2 Host: host3 </protocol> </verify> </testcase>
tests/data/test581 0 → 100644 +58 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> HTTP HTTP GET multi Duplicate-header </keywords> </info> # Server-side <reply> <data> HTTP/1.1 200 all good! Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake Content-Type: text/html Content-Length: 0 Connection: close Content-Type: changed/my/mind </data> </reply> # Client-side <client> <server> http </server> <features> http </features> # tool is what to use instead of 'curl' <tool> lib507 </tool> <name> multi interface, multiple Content-Type: headers </name> <command> http://%HOSTIP:%HTTPPORT/581 </command> </client> # Verify data after the test has been "shot" <verify> <strip> ^User-Agent:.* </strip> <protocol> GET /581 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* </protocol> </verify> </testcase>