Return to test328 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: Content-Encoding ! 7: </keywords> ! 8: </info> ! 9: ! 10: # Server-side ! 11: <reply> ! 12: <data> ! 13: HTTP/1.1 200 OK ! 14: Date: Thu, 09 Nov 2010 14:49:00 GMT ! 15: Content-Type: text/html ! 16: Content-Encoding: none ! 17: Content-Length: 38 ! 18: ! 19: Q: What did 0 say to 8? A: Nice Belt! ! 20: </data> ! 21: </reply> ! 22: ! 23: # Client-side ! 24: <client> ! 25: <server> ! 26: http ! 27: </server> ! 28: ! 29: # we're actually more interested in any compression support but this is the ! 30: # best we can do right now ! 31: <features> ! 32: libz ! 33: </features> ! 34: <name> ! 35: HTTP with "Content-Encoding: none ! 36: </name> ! 37: <command> ! 38: http://%HOSTIP:%HTTPPORT/hello/328 --compressed ! 39: </command> ! 40: </client> ! 41: ! 42: # Verify data after the test has been "shot" ! 43: <verify> ! 44: <strip> ! 45: ^User-Agent:.* ! 46: ^Accept-Encoding:.* ! 47: </strip> ! 48: <protocol> ! 49: GET /hello/328 HTTP/1.1 ! 50: Host: %HOSTIP:%HTTPPORT ! 51: Accept: */* ! 52: ! 53: </protocol> ! 54: </verify> ! 55: </testcase>