~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to tests/data/test172

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-03-23 18:41:29 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050323184129-9hgq7luenq51umpu
Tags: upstream-7.12.3
ImportĀ upstreamĀ versionĀ 7.12.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Server-side
 
2
<reply>
 
3
<data>
 
4
HTTP/1.1 200 OK
 
5
Content-Length: 4
 
6
Connection: close
 
7
 
 
8
boo
 
9
</data>
 
10
</reply>
 
11
 
 
12
# Client-side
 
13
<client>
 
14
<server>
 
15
http
 
16
</server>
 
17
 <name>
 
18
HTTP with cookies file and custom added cookie
 
19
 </name>
 
20
 <command>
 
21
http://%HOSTIP:%HTTPPORT/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool"
 
22
</command>
 
23
<file name="log/jar172.txt">
 
24
# Netscape HTTP Cookie File
 
25
# http://www.netscape.com/newsref/std/cookie_spec.html
 
26
# This file was generated by libcurl! Edit at your own risk.
 
27
 
 
28
.127.0.0.1      TRUE    /silly/ FALSE   0       ismatch this
 
29
.127.0.0.1      TRUE    /       FALSE   0       partmatch       present
 
30
127.0.0.1       FALSE   /we/want/       FALSE   1391252187      nodomain        value
 
31
</file>
 
32
</client>
 
33
 
 
34
# Verify data after the test has been "shot"
 
35
<verify>
 
36
<strip>
 
37
^User-Agent:.*
 
38
</strip>
 
39
<protocol>
 
40
GET /we/want/172 HTTP/1.1
 
41
Host: 127.0.0.1:%HTTPPORT
 
42
Pragma: no-cache
 
43
Accept: */*
 
44
Cookie: nodomain=value; partmatch=present; tool=curl; name=fool
 
45
 
 
46
</protocol>
 
47
</verify>