@@ -36,11 +36,13 @@ conditionalRequest :: I.FileInfo
3636 -> RspFileInfo
3737conditionalRequest finfo hs0 reqidx = case fromJust mx of
3838 nobody@(WithoutBody _) -> nobody
39− WithBody s _ off len -> let hs = addContentHeaders hs0 off len size
39+ WithBody s _ off len -> let hs = (H.hLastModified,date) :
40+ addContentHeaders hs0 off len size
4041 in WithBody s hs off len
4142 where
4243 mtime = I.fileInfoTime finfo
4344 size = I.fileInfoSize finfo
45+ date = I.fileInfoDate finfo
4446 mx = ifmodified reqidx size mtime
4547 <|> ifunmodified reqidx size mtime
4648 <|> ifrange reqidx size mtime