. helpers.sh
start_test_server \
-line 1 -file data/require-proxyauth \
-line 8 -expect "proxy-authorization: Basic dGVzdHVzZXI6dGVzdHBhc3N3b3Jk
" \
-line 9 -file data/require-basicauth \
-line 13 -expect "proxy-authorization: Basic dGVzdHVzZXI6dGVzdHBhc3N3b3Jk
" \
-line 14 -expect "Authorization: Basic dGVzdHVzZXI6dGVzdHBhc3N3b3Jk
" \
-line 15 -file data/framed
trap "stop_test_server" EXIT
request \
-proxy -proxy-user testuser -proxy-password testpassword \
-realm testrealm -user testuser -password testpassword -basic-auth \
-get / \
-run
syntax highlighted by Code2HTML, v. 0.9.1