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

« back to all changes in this revision

Viewing changes to tests/data/test150

  • 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
 
# Server-side
 
1
<testcase>
 
2
 
 
3
<!-- Server-side -->
2
4
<reply>
3
5
 
4
 
# no <data> in this test since we have NTLM from the start
5
 
 
6
 
# This is supposed to be returned when the server gets a first
7
 
# Authorization: NTLM line passed-in from the client
 
6
<!-- no <data> in this test since we have NTLM from the start
 
7
 
 
8
This is supposed to be returned when the server gets a first
 
9
Authorization: NTLM line passed-in from the client -->
 
10
 
8
11
<data1001>
9
12
HTTP/1.1 401 Now gimme that second request of crap
10
13
Server: Microsoft-IIS/5.0
21
24
HTTP/1.1 200 Things are fine in server land swsclose
22
25
Server: Microsoft-IIS/5.0
23
26
Content-Type: text/html; charset=iso-8859-1
 
27
Content-Length: 32
24
28
 
25
29
Finally, this is the real page!
26
30
</data1002>
35
39
HTTP/1.1 200 Things are fine in server land swsclose
36
40
Server: Microsoft-IIS/5.0
37
41
Content-Type: text/html; charset=iso-8859-1
 
42
Content-Length: 32
38
43
 
39
44
Finally, this is the real page!
40
45
</datacheck>
66
71
# the local host name and thus differs on different machines!
67
72
<strippart>
68
73
s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
69
 
</strippart)
 
74
</strippart>
70
75
<protocol>
71
76
GET /150 HTTP/1.1
72
77
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
82
87
 
83
88
</protocol>
84
89
</verify>
 
90
</testcase>