You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/08/26 13:26:33 UTC

DO NOT REPLY [Bug 35217] extension cache-control directives MUST be ignored

https://issues.apache.org/bugzilla/show_bug.cgi?id=35217





--- Comment #4 from rahul <ra...@sun.com>  2008-08-26 04:26:32 PST ---
Confirming this in trunk again.

First request to cache the url .

|echo "GET http://webproxy.india.sun.com:8000/tst.txt HTTP/1.0\r\n\r\n" | nc 0
8080                                 
HTTP/1.1 200 OK
Date: Tue, 26 Aug 2008 11:12:53 GMT
Server: Sun-Java-System-Web-Proxy-Server/4.0.4
Content-length: 5
Content-type: text/plain
Last-modified: Tue, 26 Aug 2008 11:12:33 GMT
Etag: "5-48b3e521"
Accept-ranges: bytes
Via: 1.0 agneyam:8000
Connection: close

abcd

This request used the cached URL

|echo "GET http://webproxy.india.sun.com:8000/tst.txt HTTP/1.0\r\n\r\n" | nc 0
8080
HTTP/1.1 200 OK
Date: Tue, 26 Aug 2008 11:12:53 GMT
Server: Sun-Java-System-Web-Proxy-Server/4.0.4
Last-Modified: Tue, 26 Aug 2008 11:12:17 GMT
Content-length: 5
Etag: "5-48b3e521"
Accept-ranges: bytes
Via: 1.0 agneyam:8000
Age: 1
Connection: close
Content-Type: text/plain

abcd

This one didn't (Note the quoted "name"=value )
|echo "GET http://webproxy.india.sun.com:8000/tst.txt
HTTP/1.0\r\nCache-Control: " max-age=0 "=new\r\n\r\n" | nc 0 8080
HTTP/1.1 200 OK
Date: Tue, 26 Aug 2008 11:13:02 GMT
Server: Sun-Java-System-Web-Proxy-Server/4.0.4
Content-length: 5
Etag: "5-48b3e521"
Accept-ranges: bytes
Via: 1.0 agneyam:8000
Last-Modified: Tue, 26 Aug 2008 11:12:24 GMT
Connection: close
Content-Type: text/plain

abcd


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org