Annotation of embedaddon/curl/tests/data/test7, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: cookies
7: header dump
8: </keywords>
9: </info>
10:
11: # Server-side
12: <reply>
13: <data>
14: HTTP/1.1 200 OK
15: Date: Thu, 09 Nov 2010 14:49:00 GMT
16: Server: test-server/fake
17: Content-Type: text/html
18: Funny-head: yesyes swsclose
19: Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
20: Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
21: Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
22:
23: </data>
24: </reply>
25:
26: # Client-side
27: <client>
28: <server>
29: http
30: </server>
31: <name>
32: HTTP with cookie parser and header recording
33: </name>
34: <command>
35: http://%HOSTIP:%HTTPPORT/we/want/7 -b none -D log/heads7.txt
36: </command>
37: </client>
38:
39: # Verify data after the test has been "shot"
40: <verify>
41: <strip>
42: ^User-Agent:.*
43: </strip>
44: <protocol>
45: GET /we/want/7 HTTP/1.1
46: Host: %HOSTIP:%HTTPPORT
47: Accept: */*
48:
49: </protocol>
50: <file name="log/heads7.txt">
51: HTTP/1.1 200 OK
52: Date: Thu, 09 Nov 2010 14:49:00 GMT
53: Server: test-server/fake
54: Content-Type: text/html
55: Funny-head: yesyes swsclose
56: Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
57: Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
58: Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
59:
60: </file>
61: </verify>
62: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>