netrc
HTTP/1.1 200 OK
Content-Length: 6
12345
# Client-side
http
netrc parsing without user match but user in URL
--netrc --netrc-file %LOGDIR/netrc%TESTNUMBER http://alice@example.com:%HTTPPORT/%TESTNUMBER --resolve example.com:%HTTPPORT:%HOSTIP
machine example.com login bob password sekret
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: example.com:%HTTPPORT
Authorization: Basic %b64[alice:]b64%
User-Agent: curl/%VERSION
Accept: */*