~ubuntu-branches/ubuntu/dapper/curl/dapper-security

« back to all changes in this revision

Viewing changes to tests/data/test177

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-03-23 18:41:29 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050323184129-le70d05a0hk5w62j
Tags: 7.12.3-2ubuntu3
Fix the version numbers internal to debian/rules.  Closes; #8088

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Server-side
 
2
<reply>
 
3
<data>
 
4
HTTP/1.1 302 *MOVED* swsclose swsbounce
 
5
Server: Microsoft-IIS/6.0
 
6
Location: /mooooo/177
 
7
Content-Type: text/html; charset=iso-8859-1
 
8
 
 
9
</data>
 
10
</reply>
 
11
 
 
12
# Client-side
 
13
<client>
 
14
 
15
<server>
 
16
http
 
17
</server>
 
18
 <name>
 
19
HTTP POST --digest to server doing a 302-location response
 
20
 </name>
 
21
 <command>
 
22
http://%HOSTIP:%HTTPPORT/177 -u auser:apasswd --digest -d "junkelijunk"
 
23
</command>
 
24
</test>
 
25
 
 
26
# Verify data after the test has been "shot"
 
27
<verify>
 
28
<strip>
 
29
^User-Agent:.*
 
30
</strip>
 
31
<protocol>
 
32
POST /177 HTTP/1.1
 
33
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
 
34
Host: 127.0.0.1:%HTTPPORT
 
35
Pragma: no-cache
 
36
Accept: */*
 
37
Content-Length: 0
 
38
Content-Type: application/x-www-form-urlencoded
 
39
 
 
40
</protocol>
 
41
</verify>