• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

I have a webapp and have set SimplePageCachingFilter on /rss servlet. When I hit this url for the first time some (maybe non-standard) http response headers contain duplicated values.

e.g: Cache-Control: no-cache, no-cache

Have a look at 2 subsequent requests on the same resource (/rss). First one has duplicated Cache-Control and Pragma:

http://localhost:8080/my-project/rss

GET /my-project/rss HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive

HTTP/1.x 200 OK Server: Apache-Coyote/1.1 Cache-Control: no-cache, no-cache Pragma: no-cache, no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Encoding: gzip Content-Type: text/xml;charset=utf-8 Content-Length: 6213 Date: Sat, 16 Feb 2008 17:31:56 GMT ———————————————————- http://localhost:8080/my-project/rss

GET /my-project/rss HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cache-Control: max-age=0

HTTP/1.x 200 OK Server: Apache-Coyote/1.1 Cache-Control: no-cache Pragma: no-cache Content-Encoding: gzip Content-Type: text/xml;charset=utf-8 Content-Length: 6213 Date: Sat, 16 Feb 2008 17:32:00 GMT

Sourceforge Ticket ID: 1895006 - Opened By: jc-cherouvim - 16 Feb 2008 17:44 UTC

Comments

Sourceforge Tracker 2009-09-21

Logged In: YES user_id=693320 Originator: NO

Hi

This is a duplicate of 1890915 which has now been fixed and will be in 1.5. Comment by: gregluck - 31 Mar 2008 07:22 UTC

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira