~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to tests/data/test267

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20070516151654-x9nkigtr2j0i8d0v
Tags: upstream-7.16.2
ImportĀ upstreamĀ versionĀ 7.16.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
1
2
<info>
2
3
<keywords>
3
4
HTTP
8
9
# Server-side
9
10
<reply>
10
11
 
11
 
# no <data> in this test since we have NTLM from the start
12
 
 
13
 
# This is supposed to be returned when the server gets a first
14
 
# Authorization: NTLM line passed-in from the client
 
12
<!-- no <data> in this test since we have NTLM from the start
 
13
 
 
14
This is supposed to be returned when the server gets a first
 
15
Authorization: NTLM line passed-in from the client -->
 
16
 
15
17
<data1001>
16
18
HTTP/1.1 401 Now gimme that second request of crap
17
19
Server: Microsoft-IIS/5.0
28
30
HTTP/1.1 200 Things are fine in server land swsclose
29
31
Server: Microsoft-IIS/5.0
30
32
Content-Type: text/html; charset=iso-8859-1
 
33
Content-Length: 32
31
34
 
32
35
Finally, this is the real page!
33
36
</data1002>
42
45
HTTP/1.1 200 Things are fine in server land swsclose
43
46
Server: Microsoft-IIS/5.0
44
47
Content-Type: text/html; charset=iso-8859-1
 
48
Content-Length: 32
45
49
 
46
50
Finally, this is the real page!
47
51
</datacheck>
73
77
# the local host name and thus differs on different machines!
74
78
<strippart>
75
79
s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
76
 
</strippart)
77
 
<protocol nonewline=yes>
 
80
</strippart>
 
81
<protocol nonewline="yes">
78
82
POST /267 HTTP/1.1
79
83
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
80
84
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
98
102
data
99
103
</protocol>
100
104
</verify>
 
105
</testcase>