Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: ServeFile should recognise unix epoch as "zero time" ? #9842
The check for timestamp validity in
regardless of the actual last modified date of the file. This is a problem because it means files may be cached on client browsers forever. This happens because the client may request the file with
Then App Engine will replies with
In the file
Isn't it a failure of the FS layer to provide shoddy mtimes?
What if a file really was created at unix epoch? What does fs.go do then?
On 12 February 2015 at 02:13, David Symonds email@example.com
On 12 February 2015 at 13:41, Andrew Gerrand firstname.lastname@example.org wrote:
Maybe. App Engine doesn't give you a real filesystem, and you don't
Dunno, but the safe option would be to pretend that the mtime is