Return to test1101 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 Basic auth ! 7: NO_PROXY ! 8: </keywords> ! 9: </info> ! 10: # Server-side ! 11: <reply> ! 12: <data> ! 13: HTTP/1.1 200 OK ! 14: Date: Thu, 09 Nov 2010 14:49:00 GMT ! 15: Server: test-server/fake ! 16: Content-Length: 4 ! 17: Content-Type: text/html ! 18: ! 19: boo ! 20: </data> ! 21: </reply> ! 22: ! 23: # Client-side ! 24: <client> ! 25: <server> ! 26: http ! 27: </server> ! 28: <name> ! 29: NO_PROXY test, with user name in URL ! 30: </name> ! 31: ! 32: <setenv> ! 33: no_proxy=%HOSTIP ! 34: http_proxy=http://non-existing-host.haxx.se:3128/ ! 35: </setenv> ! 36: <command> ! 37: http://user:secret@%HOSTIP:%HTTPPORT/gimme/1101 ! 38: </command> ! 39: </client> ! 40: ! 41: # Verify data after the test has been "shot" ! 42: <verify> ! 43: <strip> ! 44: ^User-Agent:.* ! 45: </strip> ! 46: <protocol> ! 47: GET /gimme/1101 HTTP/1.1 ! 48: Host: %HOSTIP:%HTTPPORT ! 49: Authorization: Basic dXNlcjpzZWNyZXQ= ! 50: Accept: */* ! 51: ! 52: </protocol> ! 53: </verify> ! 54: </testcase>