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

--- Comment #1 from f...@alum.mit.edu <f...@alum.mit.edu> ---
I opened this bug against Tomcat6 since that is what we're using, but this bug
exists on all Tomcat7, as well, and most likely Tomcat8.  I'm not sure how to
deal with that.



Looking at tomcat-embed-core-7.0.42.jar:
AbstractHttp11Processor.prepareResponse
line: 1458

// Add date header
headers.setValue("Date").setString(FastHttpDateFormat.getCurrentDate());


You see that it sets the Date header, not checking if it had been already set
by that application.  Should be able to easily wrap it with:

if ( headers.getValue("Date") == null ) {
  ...
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to