~ubuntu-branches/ubuntu/intrepid/curl/intrepid

« back to all changes in this revision

Viewing changes to tests/data/test278

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070516151654-jo48r81zempo1qav
Tags: 7.16.2-3ubuntu1
* Merge with Debian; remaining changes:
  - Drop the stunnel build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
HTTP GET
 
6
HTTP proxy
 
7
HTTP proxy Basic auth
 
8
</keywords>
 
9
</info>
 
10
# Server-side
 
11
<reply>
 
12
<data>
 
13
HTTP/1.1 200 OK swsclose
 
14
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
15
Content-Type: text/html
 
16
Content-Length: 27
 
17
 
 
18
the content would go here
 
19
</data>
 
20
</reply>
 
21
 
 
22
# Client-side
 
23
<client>
 
24
<server>
 
25
http
 
26
</server>
 
27
 <name>
 
28
HTTP with proxy string including http:// and user+empty password
 
29
 </name>
 
30
 <command>
 
31
http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT
 
32
</command>
 
33
</client>
 
34
 
 
35
# Verify data after the test has been "shot"
 
36
<verify>
 
37
<strip>
 
38
^User-Agent:.*
 
39
</strip>
 
40
<protocol>
 
41
GET http://we.want.that.site.com/278 HTTP/1.1
 
42
Proxy-Authorization: Basic ZmFrZTo=
 
43
Host: we.want.that.site.com
 
44
Pragma: no-cache
 
45
Accept: */*
 
46
Proxy-Connection: Keep-Alive
 
47
 
 
48
</protocol>
 
49
</verify>
 
50
</testcase>