HTTP netrc # # Server-side HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Server: test-server/fake swsclose Content-Type: text/html Funny-head: yesyes Content-Length: 9 contents # # Client-side http netrc with NETRC pointing out the file machine foo.host login foo password alone-in-the-dark NETRC=%LOGDIR/netrc%TESTNUMBER http://foo.host/%TESTNUMBER --proxy %HOSTIP:%HTTPPORT -A "" --netrc proxy # # Verify data after the test has been "shot" GET http://foo.host/%TESTNUMBER HTTP/1.1 Host: foo.host Authorization: Basic %b64[foo:alone-in-the-dark]b64% Accept: */* Proxy-Connection: Keep-Alive