~ubuntu-branches/ubuntu/warty/curl/warty-security

« back to all changes in this revision

Viewing changes to tests/data/test82

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2004-06-04 19:09:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040604190925-wy048bp31320r2z6
Tags: 7.12.0.is.7.11.2-1
* Reverted to version 7.11.2 (closes: #252348).
* Disabled support for libidn (closes: #252367). This is to leave
  curl in unstable as much similar as possible to the one in testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Server-side
 
2
<reply>
 
3
 
 
4
<data>
 
5
HTTP/1.1 407 We only deal with NTLM my friend
 
6
Server: Microsoft-IIS/5.0
 
7
Content-Type: text/html; charset=iso-8859-1
 
8
Content-Length: 34
 
9
Proxy-Authenticate: NTLM
 
10
 
 
11
This is not the real page either!
 
12
</data>
 
13
 
 
14
</reply>
 
15
 
 
16
# Client-side
 
17
<client>
 
18
<features>
 
19
</features>
 
20
<server>
 
21
http
 
22
</server>
 
23
 <name>
 
24
HTTP with proxy requiring NTLM, but we send Basic
 
25
 </name>
 
26
 <command>
 
27
http://%HOSTIP:%HOSTPORT/82 --proxy-user testuser:testpass -x http://%HOSTIP:%HOSTPORT
 
28
</command>
 
29
</test>
 
30
 
 
31
# Verify data after the test has been "shot"
 
32
<verify>
 
33
<strip>
 
34
^User-Agent:.*
 
35
</strip>
 
36
<protocol>
 
37
GET http://127.0.0.1:8999/82 HTTP/1.1
 
38
Proxy-authorization: Basic dGVzdHVzZXI6dGVzdHBhc3M=
 
39
User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
 
40
Host: 127.0.0.1:8999
 
41
Pragma: no-cache
 
42
Accept: */*
 
43
 
 
44
</protocol>
 
45
</verify>