Return to test1271 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: HTTP ! 5: HTTP GET ! 6: --write-out ! 7: </keywords> ! 8: </info> ! 9: ! 10: # Server-side ! 11: <reply> ! 12: <data> ! 13: HTTP/1.1 200 This is a weirdo text message swsclose ! 14: Content-Length: 4 ! 15: Connection: close ! 16: ! 17: Moo ! 18: </data> ! 19: </reply> ! 20: ! 21: # Client-side ! 22: <client> ! 23: <server> ! 24: http ! 25: </server> ! 26: <name> ! 27: --write-out from file with empty file ! 28: </name> ! 29: <command> ! 30: http://%HOSTIP:%HTTPPORT/we/want/our/1271 -w @log/blank1271 ! 31: </command> ! 32: <file name="log/blank1271"> ! 33: </file> ! 34: </client> ! 35: ! 36: # Verify data after the test has been "shot" ! 37: <verify> ! 38: <strip> ! 39: ^User-Agent:.* ! 40: </strip> ! 41: <protocol> ! 42: GET /we/want/our/1271 HTTP/1.1 ! 43: Host: %HOSTIP:%HTTPPORT ! 44: Accept: */* ! 45: ! 46: </protocol> ! 47: </verify> ! 48: </testcase>