Debian Codegraph @

curl/tests/data/test93

raw
1 <info>
2 <keywords>
3 HTTP
4 HTTP GET
5 HTTP proxy
6 </keywords>
7 </info>
8 #
9 # Server-side
10 <reply>
11 <data>
12 HTTP/1.1 407 Needs proxy authentication
13 Server: test-server/fake swsclose yesyes
14 Proxy-Authenticate: Basic "oh please"
15 Connection: close
16
17 bing
18 </data>
19 </reply>
20
21 #
22 # Client-side
23 <client>
24 <server>
25 http
26 </server>
27 <name>
28 HTTP GET with failed proxy auth
29 </name>
30 <command>
31 http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT
32 </command>
33 </client>
34
35 #
36 # Verify data after the test has been "shot"
37 <verify>
38 <strip>
39 ^User-Agent:.*
40 </strip>
41 <protocol>
42 GET http://127.0.0.1:%HTTPPORT/93 HTTP/1.1
43 Host: 127.0.0.1:%HTTPPORT
44 Pragma: no-cache
45 Accept: */*
46 Proxy-Connection: Keep-Alive
47
48 </protocol>
49 </verify>