Test Case: caches MUST treat Expires value extending RFC 850 format as in the past

0.497| starting test case test_case/rfc2616/invalidExpiresMakesStale-rfc850x from test_clause/rfc2616/invalidExpiresMakesStale clause, Co-Advisor version: head-mid57
0.498| step 1: trying to cache an entity with a valid Expires header

Subcase: cache something

0.498| starting sub-case test_case/rfc2616/cacheSmth
0.498| server accepting HTTP queries at coad-dev.measurement-factory.com:8080
0.498| client connecting to 172.16.0.7:80; 3 attempt(s)
0.498| client at 172.16.0.1:1072 connected to 172.16.0.7:80
0.498| client will send 94 bytes (94 + 0)
GET http://172.16.0.1:8080/nqinmnukvewi HTTP/1.1\r\n
Host: 172.16.0.1:8080\r\n
Connection: close\r\n
\r\n

0.499| client at 172.16.0.1:1072 expects to write to 172.16.0.7:80
0.499| client at 172.16.0.1:1072 wrote 94 bytes to 172.16.0.7:80
0.499| client at 172.16.0.1:1072 stops writing to 172.16.0.7:80
0.499| client at 172.16.0.1:1072 expects to read from 172.16.0.7:80
0.499| server at 172.16.0.1:8080 accepted connection from 172.16.0.7:1064
0.499| server at 172.16.0.1:8080 expects to read from 172.16.0.7:1064
0.499| server at 172.16.0.1:8080 read 98 bytes from 172.16.0.7:1064
0.500| server got request headers (98 bytes)
GET /nqinmnukvewi HTTP/1.1\r\n
Host: 172.16.0.1:8080\r\n
Connection: close\r\n
Via: 1.1 172.16.0.1:8080\r\n
\r\n

0.500| expecting no message body
0.500| no message body data to parse
0.500| server expects no more request data (after 98 + 0 = 98 bytes)
0.500| server at 172.16.0.1:8080 stops reading from 172.16.0.7:1064
0.500| server will send 219 bytes
HTTP/1.1 200 OK\r\n
Cache-Control: public\r\n
Last-Modified: Sun, 07 Jul 2002 18:28:55 GMT\r\n
Expires: Tue, 06 Jul 2004 18:28:55 GMT\r\n
Date: Mon, 07 Jul 2003 18:28:56 GMT\r\n
Connection: close\r\n
Content-Length: 15\r\n
\r\n
body-iyhkkorqxa

0.501| server at 172.16.0.1:8080 expects to write to 172.16.0.7:1064
0.501| server at 172.16.0.1:8080 wrote 219 bytes to 172.16.0.7:1064
0.501| server at 172.16.0.1:8080 stops writing to 172.16.0.7:1064
0.501| server stops servicing connection with 172.16.0.7:1064
0.501| server at 172.16.0.1:8080 closing connection to 172.16.0.7:1064
0.503| client at 172.16.0.1:1072 read 321 bytes from 172.16.0.7:80
0.503| client parsed response headers (306 bytes)
HTTP/1.1 200 OK\r\n
Date: Mon, 07 Jul 2003 18:28:55 GMT\r\n
Server: Apache/2.0.46 (Unix)\r\n
Cache-Control: public\r\n
Last-Modified: Sun, 07 Jul 2002 18:28:55 GMT\r\n
Expires: Tue, 06 Jul 2004 18:28:55 GMT\r\n
Content-Length: 15\r\n
Via: 1.1 172.16.0.1:8080\r\n
Connection: close\r\n
Content-Type: text/plain; charset=ISO-8859-1\r\n
\r\n

0.503| expecting 15 bytes of message body based on Content-Length header
0.503| parsed 15 bytes of message body:
body-iyhkkorqxa

0.503| client expects no more data (after 306 + 15 = 321 bytes)
0.504| content size: 15
0.504| client at 172.16.0.1:1072 stops reading from 172.16.0.7:80
0.504| client stops servicing connection with 172.16.0.7:80
0.504| client at 172.16.0.1:1072 closing connection to 172.16.0.7:80
0.504| server stops accepting HTTP queries at coad-dev.measurement-factory.com:8080
0.504| finished case: test_case/rfc2616/cacheSmth
0.504| result code: success
0.504| result reason: DUT proxied the transaction and possibly cached the response

0.504| step 2: verifying whether the cache cached the entity with a valid Expires

Subcase: check that a given entity instance is cached and fresh

0.504| starting sub-case test_case/rfc2616/checkCached-fresh
0.504| server accepting HTTP queries at coad-dev.measurement-factory.com:8080
0.505| client connecting to 172.16.0.7:80; 3 attempt(s)
0.505| client at 172.16.0.1:1073 connected to 172.16.0.7:80
0.505| client will send 94 bytes (94 + 0)
GET http://172.16.0.1:8080/nqinmnukvewi HTTP/1.1\r\n
Host: 172.16.0.1:8080\r\n
Connection: close\r\n
\r\n

0.505| client at 172.16.0.1:1073 expects to write to 172.16.0.7:80
0.505| client at 172.16.0.1:1073 wrote 94 bytes to 172.16.0.7:80
0.506| client at 172.16.0.1:1073 stops writing to 172.16.0.7:80
0.506| client at 172.16.0.1:1073 expects to read from 172.16.0.7:80
0.507| client at 172.16.0.1:1073 read 329 bytes from 172.16.0.7:80
0.508| client parsed response headers (314 bytes)
HTTP/1.1 200 OK\r\n
Date: Mon, 07 Jul 2003 18:28:55 GMT\r\n
Server: Apache/2.0.46 (Unix)\r\n
Expires: Tue, 06 Jul 2004 18:28:55 GMT\r\n
Via: 1.1 172.16.0.1:8080\r\n
Cache-Control: public\r\n
Last-Modified: Sun, 07 Jul 2002 18:28:55 GMT\r\n
Content-Length: 15\r\n
Content-Type: text/plain; charset=ISO-8859-1\r\n
Age: 0\r\n
Connection: close\r\n
\r\n

0.508| expecting 15 bytes of message body based on Content-Length header
0.508| parsed 15 bytes of message body:
body-iyhkkorqxa

0.508| client expects no more data (after 314 + 15 = 329 bytes)
0.508| content size: 15
0.508| client at 172.16.0.1:1073 stops reading from 172.16.0.7:80
0.508| client stops servicing connection with 172.16.0.7:80
0.508| client at 172.16.0.1:1073 closing connection to 172.16.0.7:80
0.508| server stops accepting HTTP queries at coad-dev.measurement-factory.com:8080
0.509| finished case: test_case/rfc2616/checkCached-fresh
0.509| result code: success
0.509| result reason: at the time of the request, entity instance appeared to be cached and fresh

0.509| step 3: attempting to cache an entity with Expires value extending RFC 850 format

Subcase: cache something

0.509| starting sub-case test_case/rfc2616/cacheSmth
0.509| server accepting HTTP queries at coad-dev.measurement-factory.com:8080
0.509| client connecting to 172.16.0.7:80; 3 attempt(s)
0.509| client at 172.16.0.1:1074 connected to 172.16.0.7:80
0.509| client will send 94 bytes (94 + 0)
GET http://172.16.0.1:8080/htxdesjccraj HTTP/1.1\r\n
Host: 172.16.0.1:8080\r\n
Connection: close\r\n
\r\n

0.510| client at 172.16.0.1:1074 expects to write to 172.16.0.7:80
0.510| client at 172.16.0.1:1074 wrote 94 bytes to 172.16.0.7:80
0.510| client at 172.16.0.1:1074 stops writing to 172.16.0.7:80
0.510| client at 172.16.0.1:1074 expects to read from 172.16.0.7:80
0.511| server at 172.16.0.1:8080 accepted connection from 172.16.0.7:1065
0.511| server at 172.16.0.1:8080 expects to read from 172.16.0.7:1065
0.511| server at 172.16.0.1:8080 read 98 bytes from 172.16.0.7:1065
0.511| server got request headers (98 bytes)
GET /htxdesjccraj HTTP/1.1\r\n
Host: 172.16.0.1:8080\r\n
Connection: close\r\n
Via: 1.1 172.16.0.1:8080\r\n
\r\n

0.511| expecting no message body
0.511| no message body data to parse
0.511| server expects no more request data (after 98 + 0 = 98 bytes)
0.511| server at 172.16.0.1:8080 stops reading from 172.16.0.7:1065
0.512| server will send 237 bytes
HTTP/1.1 200 OK\r\n
Cache-Control: public\r\n
Last-Modified: Sun, 07 Jul 2002 18:28:55 GMT\r\n
Expires: Sunday, 06-Nov-09 08:49:37 GMT - 9 years (2000)\r\n
Date: Mon, 07 Jul 2003 18:28:56 GMT\r\n
Connection: close\r\n
Content-Length: 15\r\n
\r\n
body-bmxtcwvqfq

0.512| server at 172.16.0.1:8080 expects to write to 172.16.0.7:1065
0.512| server at 172.16.0.1:8080 wrote 237 bytes to 172.16.0.7:1065
0.512| server at 172.16.0.1:8080 stops writing to 172.16.0.7:1065
0.512| server stops servicing connection with 172.16.0.7:1065
0.512| server at 172.16.0.1:8080 closing connection to 172.16.0.7:1065
0.514| client at 172.16.0.1:1074 read 339 bytes from 172.16.0.7:80
0.514| client parsed response headers (324 bytes)
HTTP/1.1 200 OK\r\n
Date: Mon, 07 Jul 2003 18:28:55 GMT\r\n
Server: Apache/2.0.46 (Unix)\r\n
Cache-Control: public\r\n
Last-Modified: Sun, 07 Jul 2002 18:28:55 GMT\r\n
Expires: Sunday, 06-Nov-09 08:49:37 GMT - 9 years (2000)\r\n
Content-Length: 15\r\n
Via: 1.1 172.16.0.1:8080\r\n
Connection: close\r\n
Content-Type: text/plain; charset=ISO-8859-1\r\n
\r\n

0.514| expecting 15 bytes of message body based on Content-Length header
0.514| parsed 15 bytes of message body:
body-bmxtcwvqfq

0.514| client expects no more data (after 324 + 15 = 339 bytes)
0.515| content size: 15
0.515| client at 172.16.0.1:1074 stops reading from 172.16.0.7:80
0.515| client stops servicing connection with 172.16.0.7:80
0.515| client at 172.16.0.1:1074 closing connection to 172.16.0.7:80
0.515| server stops accepting HTTP queries at coad-dev.measurement-factory.com:8080
0.515| finished case: test_case/rfc2616/cacheSmth
0.515| result code: success
0.515| result reason: DUT proxied the transaction and possibly cached the response

0.515| step 4: verifying whether cache cached the entity with Expires value extending RFC 850 format

Subcase: check whether a given entity instance is not cached or cached but stale or cached and fresh

0.515| starting sub-case test_case/rfc2616/checkCached-any
0.516| server accepting HTTP queries at coad-dev.measurement-factory.com:8080
0.516| client connecting to 172.16.0.7:80; 3 attempt(s)
0.516| client at 172.16.0.1:1075 connected to 172.16.0.7:80
0.516| client will send 94 bytes (94 + 0)
GET http://172.16.0.1:8080/htxdesjccraj HTTP/1.1\r\n
Host: 172.16.0.1:8080\r\n
Connection: close\r\n
\r\n

0.516| client at 172.16.0.1:1075 expects to write to 172.16.0.7:80
0.516| client at 172.16.0.1:1075 wrote 94 bytes to 172.16.0.7:80
0.517| client at 172.16.0.1:1075 stops writing to 172.16.0.7:80
0.517| client at 172.16.0.1:1075 expects to read from 172.16.0.7:80
0.518| client at 172.16.0.1:1075 read 347 bytes from 172.16.0.7:80
0.519| client parsed response headers (332 bytes)
HTTP/1.1 200 OK\r\n
Date: Mon, 07 Jul 2003 18:28:55 GMT\r\n
Server: Apache/2.0.46 (Unix)\r\n
Expires: Sunday, 06-Nov-09 08:49:37 GMT - 9 years (2000)\r\n
Via: 1.1 172.16.0.1:8080\r\n
Cache-Control: public\r\n
Last-Modified: Sun, 07 Jul 2002 18:28:55 GMT\r\n
Content-Length: 15\r\n
Content-Type: text/plain; charset=ISO-8859-1\r\n
Age: 0\r\n
Connection: close\r\n
\r\n

0.519| expecting 15 bytes of message body based on Content-Length header
0.519| parsed 15 bytes of message body:
body-bmxtcwvqfq

0.519| client expects no more data (after 332 + 15 = 347 bytes)
0.519| content size: 15
0.519| client at 172.16.0.1:1075 stops reading from 172.16.0.7:80
0.519| client stops servicing connection with 172.16.0.7:80
0.519| client at 172.16.0.1:1075 closing connection to 172.16.0.7:80
0.520| server stops accepting HTTP queries at coad-dev.measurement-factory.com:8080
0.520| finished case: test_case/rfc2616/checkCached-any
0.520| result code: success
0.520| result reason: at the time of the request, entity instance appeared to be cached and fresh

0.520| finished case: test_case/rfc2616/invalidExpiresMakesStale-rfc850x
0.520| result code: violation
0.520| result reason: cache did not treat Expires value extending RFC 850 format as in the past