481418 ResourceHandler sets last modified
This commit is contained in:
parent
973d95c8bc
commit
8caef29126
|
@ -498,11 +498,12 @@ public class ResourceHandler extends HandlerWrapper
|
|||
doResponseHeaders(response,resource,mime);
|
||||
if (_etags)
|
||||
baseRequest.getResponse().getHttpFields().put(HttpHeader.ETAG,etag);
|
||||
if (last_modified>0)
|
||||
response.setDateHeader(HttpHeader.LAST_MODIFIED.asString(),last_modified);
|
||||
|
||||
if(skipContentBody)
|
||||
return;
|
||||
|
||||
|
||||
// Send the content
|
||||
OutputStream out =null;
|
||||
try {out = response.getOutputStream();}
|
||||
|
|
Loading…
Reference in New Issue