mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 19:49:56 +08:00

* use UTC timezone for modified time * use http.ParseTime to handle If-Modified-Since * use time.Compare to simplify comparison * take the directory's modtime into consideration when calculating lastModified * update comments about If-Modified-Since's handling