14 HTTP/1.1 301 This is a weirdo text message
\r
15 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
16 Server: test-server/fake
\r
17 Location: ../data/10240002.txt
\r
18 Set-Cookie: firstcookie=want; path=/want/
\r
21 This server reply is for testing a Location: following with cookies
25 HTTP/1.1 301 This is a weirdo text message
\r
26 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
27 Server: test-server/fake
\r
28 Location: ../want/10240003.txt
\r
29 Set-Cookie: nextcookie=data; path=/data/
\r
32 This server reply is for testing a Location: following with cookies
36 HTTP/1.1 200 Followed here fine
\r
37 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
38 Server: test-server/fake
\r
41 If this is received, the location following worked
45 HTTP/1.1 301 This is a weirdo text message
\r
46 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
47 Server: test-server/fake
\r
48 Location: ../data/10240002.txt
\r
49 Set-Cookie: firstcookie=want; path=/want/
\r
52 HTTP/1.1 301 This is a weirdo text message
\r
53 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
54 Server: test-server/fake
\r
55 Location: ../want/10240003.txt
\r
56 Set-Cookie: nextcookie=data; path=/data/
\r
59 HTTP/1.1 200 Followed here fine
\r
60 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
61 Server: test-server/fake
\r
64 If this is received, the location following worked
75 HTTP Location: following with cookies
78 http://%HOSTIP:%HTTPPORT/want/1024 -L -c log/jar1024
82 # Verify data after the test has been "shot"
88 GET /want/1024 HTTP/1.1
\r
89 Host: %HOSTIP:%HTTPPORT
\r
92 GET /data/10240002.txt HTTP/1.1
\r
93 Host: %HOSTIP:%HTTPPORT
\r
96 GET /want/10240003.txt HTTP/1.1
\r
97 Host: %HOSTIP:%HTTPPORT
\r
99 Cookie: firstcookie=want
\r