]> Cypherpunks repositories - gostls13.git/commit
net/http: clean up checkIfModifiedSince and checkIfUnmodifiedSince
authorAnmol Sethi <hi@nhooyr.io>
Thu, 19 Oct 2017 01:27:48 +0000 (21:27 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 14 Oct 2019 21:10:00 +0000 (21:10 +0000)
commit9f95a3097710fa4aa01910218454d23fa880f736
tree91a8dc9f621539b69696084e5f25884829081ca6
parent19532d04bfe4bfb2e4a2de239ac13f31b77080fc
net/http: clean up checkIfModifiedSince and checkIfUnmodifiedSince

The comment in both functions referred to the wrong header and I made
the checks easier to read.

Change-Id: Ifb46729cee631a3305f557863818e3487b8eed71
Reviewed-on: https://go-review.googlesource.com/c/go/+/71753
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/fs.go