Return to test48 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 HEAD ! 6: -G ! 7: </keywords> ! 8: </info> ! 9: # ! 10: # Server-side ! 11: <reply> ! 12: <servercmd> ! 13: connection-monitor ! 14: </servercmd> ! 15: <data> ! 16: HTTP/1.1 200 OK ! 17: Date: Thu, 09 Nov 2010 14:49:00 GMT ! 18: ! 19: </data> ! 20: </reply> ! 21: ! 22: # ! 23: # Client-side ! 24: <client> ! 25: <server> ! 26: http ! 27: </server> ! 28: <name> ! 29: HTTP with -d and -G and -I ! 30: </name> ! 31: <command> ! 32: -d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/48 -G -I http://%HOSTIP:%HTTPPORT/48 ! 33: </command> ! 34: </client> ! 35: ! 36: # ! 37: # Verify data after the test has been "shot" ! 38: <verify> ! 39: <strip> ! 40: ^User-Agent:.* ! 41: </strip> ! 42: <protocol> ! 43: HEAD /48?foo=moo&moo=poo HTTP/1.1 ! 44: Host: %HOSTIP:%HTTPPORT ! 45: Accept: */* ! 46: ! 47: HEAD /48?foo=moo&moo=poo HTTP/1.1 ! 48: Host: %HOSTIP:%HTTPPORT ! 49: Accept: */* ! 50: ! 51: [DISCONNECT] ! 52: </protocol> ! 53: </verify> ! 54: </testcase>