14 HTTP/1.1 301 This is a weirdo text message
15 Date: Thu, 09 Nov 2010 14:49:00 GMT
16 Server: test-server/fake
17 Location: ../data/10240002.txt
18 Set-Cookie: firstcookie=want; path=/want/
21 This server reply is for testing a Location: following with cookies
25 HTTP/1.1 301 This is a weirdo text message
26 Date: Thu, 09 Nov 2010 14:49:00 GMT
27 Server: test-server/fake
28 Location: ../want/10240003.txt
29 Set-Cookie: nextcookie=data; path=/data/
32 This server reply is for testing a Location: following with cookies
36 HTTP/1.1 200 Followed here fine
37 Date: Thu, 09 Nov 2010 14:49:00 GMT
38 Server: test-server/fake
41 If this is received, the location following worked
45 HTTP/1.1 301 This is a weirdo text message
46 Date: Thu, 09 Nov 2010 14:49:00 GMT
47 Server: test-server/fake
48 Location: ../data/10240002.txt
49 Set-Cookie: firstcookie=want; path=/want/
52 HTTP/1.1 301 This is a weirdo text message
53 Date: Thu, 09 Nov 2010 14:49:00 GMT
54 Server: test-server/fake
55 Location: ../want/10240003.txt
56 Set-Cookie: nextcookie=data; path=/data/
59 HTTP/1.1 200 Followed here fine
60 Date: Thu, 09 Nov 2010 14:49:00 GMT
61 Server: test-server/fake
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
89 Host: %HOSTIP:%HTTPPORT
92 GET /data/10240002.txt HTTP/1.1
93 Host: %HOSTIP:%HTTPPORT
96 GET /want/10240003.txt HTTP/1.1
97 Host: %HOSTIP:%HTTPPORT
99 Cookie: firstcookie=want