1.1.7
by Matthias Klose
Import upstream version 7.16.2 |
1 |
<testcase>
|
1.1.3
by Matthias Klose
Import upstream version 7.14.0 |
2 |
<info>
|
3 |
<keywords>
|
|
4 |
HTTP |
|
5 |
HTTP GET |
|
6 |
cookies |
|
7 |
</keywords>
|
|
8 |
</info>
|
|
1
by Domenico Andreoli
Import upstream version 7.9.5 |
9 |
# Server-side |
10 |
<reply>
|
|
11 |
<data>
|
|
1.1.1
by Domenico Andreoli
Import upstream version 7.12.0.is.7.11.2 |
12 |
HTTP/1.1 200 OK swsclose |
1
by Domenico Andreoli
Import upstream version 7.9.5 |
13 |
Date: Thu, 09 Nov 2010 14:49:00 GMT |
14 |
Server: test-server/fake |
|
15 |
||
16 |
</data>
|
|
17 |
</reply>
|
|
18 |
||
19 |
# Client-side |
|
20 |
<client>
|
|
1.1.1
by Domenico Andreoli
Import upstream version 7.12.0.is.7.11.2 |
21 |
<server>
|
22 |
http |
|
23 |
</server>
|
|
1
by Domenico Andreoli
Import upstream version 7.9.5 |
24 |
<name>
|
25 |
HTTP with cookie parsing from header file |
|
26 |
</name>
|
|
27 |
<command>
|
|
1.1.2
by LaMont Jones
Import upstream version 7.12.3 |
28 |
http://%HOSTIP:%HTTPPORT/we/want/8 -b log/heads8.txt |
1
by Domenico Andreoli
Import upstream version 7.9.5 |
29 |
</command>
|
30 |
||
31 |
# We create this file before the command is invoked! |
|
32 |
<file name="log/heads8.txt"> |
|
33 |
HTTP/1.1 200 OK |
|
34 |
Date: Thu, 09 Nov 2010 14:49:00 GMT |
|
35 |
Server: test-server/fake |
|
36 |
Content-Type: text/html |
|
37 |
Funny-head: yesyes |
|
1.2.20
by Alessandro Ghedini
Import upstream version 7.28.1 |
38 |
Set-Cookie: foobar=name; domain=%HOSTIP; path=/; |
39 |
Set-Cookie: mismatch=this; domain=%HOSTIP; path="/silly/"; |
|
3.4.3
by Domenico Andreoli
* Package is orphaned. |
40 |
Set-Cookie: partmatch=present; domain=.0.0.1; path=/w; |
1.2.2
by Domenico Andreoli
Import upstream version 7.19.7 |
41 |
Set-Cookie: duplicate=test; domain=.0.0.1; domain=.0.0.1; path=/donkey; |
1.1.6
by Martin Pitt
Import upstream version 7.15.5 |
42 |
Set-Cookie: cookie=yes; path=/we; |
3.4.3
by Domenico Andreoli
* Package is orphaned. |
43 |
Set-Cookie: cookie=perhaps; path=/we/want; |
1.1.6
by Martin Pitt
Import upstream version 7.15.5 |
44 |
Set-Cookie: nocookie=yes; path=/WE; |
82
by Marc Deslauriers
* SECURITY UPDATE: incorrect cookie handling via partial literal IP |
45 |
Set-Cookie: blexp=yesyes; domain=%HOSTIP; domain=%HOSTIP; expiry=totally bad; |
46 |
Set-Cookie: partialip=nono; domain=.0.0.1; |
|
1
by Domenico Andreoli
Import upstream version 7.9.5 |
47 |
|
48 |
</file>
|
|
1.2.20
by Alessandro Ghedini
Import upstream version 7.28.1 |
49 |
<precheck>
|
50 |
perl -e 'if ("%HOSTIP" !~ /\.0\.0\.1$/) {print "Test only works for HOSTIPs ending with .0.0.1"; exit(1)}' |
|
51 |
</precheck>
|
|
1.1.3
by Matthias Klose
Import upstream version 7.14.0 |
52 |
</client>
|
1
by Domenico Andreoli
Import upstream version 7.9.5 |
53 |
|
54 |
# Verify data after the test has been "shot" |
|
55 |
<verify>
|
|
56 |
<strip>
|
|
57 |
^User-Agent:.* |
|
58 |
</strip>
|
|
59 |
<protocol>
|
|
60 |
GET /we/want/8 HTTP/1.1 |
|
1.1.9
by Matthias Klose
Import upstream version 7.17.1 |
61 |
Host: %HOSTIP:%HTTPPORT |
1.1.1
by Domenico Andreoli
Import upstream version 7.12.0.is.7.11.2 |
62 |
Accept: */* |
1.3.3
by Alessandro Ghedini
Import upstream version 7.31.0 |
63 |
Cookie: cookie=perhaps; cookie=yes; foobar=name; blexp=yesyes |
1
by Domenico Andreoli
Import upstream version 7.9.5 |
64 |
|
65 |
</protocol>
|
|
66 |
</verify>
|
|
1.1.7
by Matthias Klose
Import upstream version 7.16.2 |
67 |
</testcase>
|