Return to test584 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: HTTP ! 5: pipelining ! 6: multi ! 7: </keywords> ! 8: </info> ! 9: ! 10: # Server-side ! 11: # Silly division of the first request is solely to appease the server which expects n_data_items == n_requests ! 12: <reply> ! 13: <data1> ! 14: HTTP/1.1 200 OK ! 15: Server: test-server/fake ! 16: Content-Length: 4 ! 17: ! 18: 584 ! 19: </data1> ! 20: <data2> ! 21: HTTP/1.1 200 OK ! 22: </data2> ! 23: <data3> ! 24: Server: test-server/fake ! 25: </data3> ! 26: <data4> ! 27: Content-Length: 0 ! 28: ! 29: HTTP/1.1 200 OK ! 30: Server: test-server/fake ! 31: Content-Length: 5 ! 32: ! 33: 585 ! 34: ! 35: HTTP/1.1 200 OK ! 36: Server: test-server/fake ! 37: Content-Length: 4 ! 38: ! 39: 586 ! 40: </data4> ! 41: </reply> ! 42: ! 43: # Client-side ! 44: <client> ! 45: <server> ! 46: http ! 47: </server> ! 48: <tool> ! 49: lib530 ! 50: </tool> ! 51: <name> ! 52: HTTP GET using pipelining (nonzero length after zero length) ! 53: </name> ! 54: <command> ! 55: http://%HOSTIP:%HTTPPORT/path/584 ! 56: </command> ! 57: </client> ! 58: ! 59: # Verify data after the test has been "shot" ! 60: <verify> ! 61: <protocol> ! 62: GET /path/5840001 HTTP/1.1 ! 63: Host: %HOSTIP:%HTTPPORT ! 64: Accept: */* ! 65: ! 66: GET /path/5840002 HTTP/1.1 ! 67: Host: %HOSTIP:%HTTPPORT ! 68: Accept: */* ! 69: ! 70: GET /path/5840003 HTTP/1.1 ! 71: Host: %HOSTIP:%HTTPPORT ! 72: Accept: */* ! 73: ! 74: GET /path/5840004 HTTP/1.1 ! 75: Host: %HOSTIP:%HTTPPORT ! 76: Accept: */* ! 77: ! 78: </protocol> ! 79: <stdout> ! 80: HTTP/1.1 200 OK ! 81: Server: test-server/fake ! 82: Content-Length: 4 ! 83: ! 84: 584 ! 85: HTTP/1.1 200 OK ! 86: Server: test-server/fake ! 87: Content-Length: 0 ! 88: ! 89: HTTP/1.1 200 OK ! 90: Server: test-server/fake ! 91: Content-Length: 5 ! 92: ! 93: 585 ! 94: ! 95: HTTP/1.1 200 OK ! 96: Server: test-server/fake ! 97: Content-Length: 4 ! 98: ! 99: 586 ! 100: </stdout> ! 101: </verify> ! 102: </testcase>