]> Cypherpunks.ru repositories - gostls13.git/commit
net/http: avoid sending unspecified time for directories
authorNuno Cruces <ncruces@users.noreply.github.com>
Tue, 1 Oct 2019 09:31:50 +0000 (09:31 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 1 Oct 2019 15:27:28 +0000 (15:27 +0000)
commita49067aab6eeff36d7219142ed52cc3db4d6c1d8
tree16c49d40d71ab250287658cb8139953a3aeba1da
parent1820cca7d735574b4ac9647d3a8b996b5f97f3cc
net/http: avoid sending unspecified time for directories

Change applies to sendFile.
This is already done for sendContent.

Change-Id: If43d9ab99e6e66a1363b08e0bdcceb57df1f855c
GitHub-Last-Rev: 1c47620a09a6f5e2b3d777fadaad6e0189de4af5
GitHub-Pull-Request: golang/go#34631
Reviewed-on: https://go-review.googlesource.com/c/go/+/198139
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/http/fs.go