]> Cypherpunks repositories - gostls13.git/commit
net/http: ignore ranges if the content is empty in serveContent
authorJorropo <jorropo.pgm@gmail.com>
Wed, 31 Aug 2022 20:25:51 +0000 (22:25 +0200)
committerDamien Neil <dneil@google.com>
Fri, 4 Nov 2022 15:03:32 +0000 (15:03 +0000)
commitedfe07834905809d687b30632ccb849b84ebd4f2
treef7c677c2d58e3c56761d6d14452bd46272740901
parent7ddbadb397b18ffadd308fea84884ae363e87b58
net/http: ignore ranges if the content is empty in serveContent

Fixes #54794

Change-Id: I6f2b7b86b82ea27b9d53cf989daa21cb8ace13da
Reviewed-on: https://go-review.googlesource.com/c/go/+/427195
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/net/http/fs.go
src/net/http/fs_test.go