~ubuntu-branches/ubuntu/natty/curl/natty-proposed

« back to all changes in this revision

Viewing changes to tests/data/test1101

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-05-24 21:12:19 UTC
  • mfrom: (1.1.12 upstream)
  • mto: (3.3.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20090524211219-7jgcwuhl04ixuqsm
Tags: upstream-7.19.5
ImportĀ upstreamĀ versionĀ 7.19.5

Show diffs side-by-side

added added

removed removed

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