Return to test1429 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: HTTP/0.9 ! 7: </keywords> ! 8: </info> ! 9: ! 10: <reply> ! 11: <data nocheck="yes"> ! 12: HTTP/1.1 2345 OK ! 13: Date: Thu, 09 Nov 2010 14:49:00 GMT ! 14: Server: test-server/fake ! 15: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT ! 16: ETag: "21025-dc7-39462498" ! 17: Accept-Ranges: bytes ! 18: Content-Length: 6 ! 19: Connection: close ! 20: Content-Type: text/html ! 21: Funny-head: yesyes ! 22: ! 23: -foo- ! 24: </data> ! 25: </reply> ! 26: ! 27: # ! 28: # Client-side ! 29: <client> ! 30: <server> ! 31: http ! 32: </server> ! 33: ! 34: <name> ! 35: HTTP GET with 4-digit response code ! 36: </name> ! 37: <command> ! 38: http://%HOSTIP:%HTTPPORT/1429 --write-out '%{response_code}' --http0.9 ! 39: </command> ! 40: </client> ! 41: ! 42: # ! 43: # Verify data after the test has been "shot" ! 44: <verify> ! 45: <stdout nonewline="yes"> ! 46: HTTP/1.1 2345 OK ! 47: Date: Thu, 09 Nov 2010 14:49:00 GMT ! 48: Server: test-server/fake ! 49: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT ! 50: ETag: "21025-dc7-39462498" ! 51: Accept-Ranges: bytes ! 52: Content-Length: 6 ! 53: Connection: close ! 54: Content-Type: text/html ! 55: Funny-head: yesyes ! 56: ! 57: -foo- ! 58: 234 ! 59: </stdout> ! 60: <strip> ! 61: ^User-Agent:.* ! 62: </strip> ! 63: <protocol> ! 64: GET /1429 HTTP/1.1 ! 65: Host: %HOSTIP:%HTTPPORT ! 66: Accept: */* ! 67: ! 68: </protocol> ! 69: </verify> ! 70: </testcase>