aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test53
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-17 07:03:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-17 07:03:26 +0000
commitb1ffb79a504b732a864b47ed718b53ce0f0f0db2 (patch)
tree3cac87c1d11e0b61056996d0202db633940d9065 /tests/data/test53
parentd6654bfe00ae6d955d6f6f7367d2e7b1e11011b4 (diff)
junk cookies test53 added
Diffstat (limited to 'tests/data/test53')
-rw-r--r--tests/data/test5342
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/test53 b/tests/data/test53
new file mode 100644
index 000000000..2975b31c8
--- /dev/null
+++ b/tests/data/test53
@@ -0,0 +1,42 @@
+# Server-side
+<reply>
+<data>
+HTTP/1.1 200 OK
+Server: Microsoft-IIS/4.0
+Date: Tue, 25 Sep 2001 19:37:44 GMT
+Content-Type: text/html
+Connection: close
+
+This server says moo
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+HTTP, junk session cookies
+ </name>
+ <command>
+%HOSTIP:%HOSTPORT/want/53 -b log/injar53 -j
+</command>
+<file name="log/injar53">
+127.0.0.1 FALSE / FALSE 2139150993 mooo indeed
+127.0.0.1 FALSE / FALSE 0 moo1 indeed
+127.0.0.1 FALSE / FALSE 1 moo2 indeed
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /want/53 HTTP/1.1
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+Cookie: mooo=indeed
+
+</protocol>
+</verify>