Return to test589 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 POST ! 6: HTTP MIME ! 7: </keywords> ! 8: </info> ! 9: ! 10: # ! 11: # Server-side ! 12: <reply> ! 13: <data> ! 14: HTTP/1.1 200 OK swsclose ! 15: Date: Thu, 09 Nov 2010 14:49:00 GMT ! 16: Server: test-server/fake ! 17: Content-Length: 3 ! 18: ! 19: OK ! 20: </data> ! 21: </reply> ! 22: ! 23: # Client-side ! 24: <client> ! 25: <server> ! 26: http ! 27: </server> ! 28: # tool is what to use instead of 'curl' ! 29: <tool> ! 30: lib589 ! 31: </tool> ! 32: ! 33: <name> ! 34: make a HTTP MIME POST set to NULL ! 35: </name> ! 36: <command> ! 37: http://%HOSTIP:%HTTPPORT/589 ! 38: </command> ! 39: </client> ! 40: ! 41: # ! 42: # Verify data after the test has been "shot" ! 43: <verify> ! 44: <strip> ! 45: ^User-Agent:.* ! 46: </strip> ! 47: <protocol> ! 48: POST /589 HTTP/1.1 ! 49: Host: %HOSTIP:%HTTPPORT ! 50: Accept: */* ! 51: Content-Length: 0 ! 52: ! 53: </protocol> ! 54: </verify> ! 55: </testcase>