`go run server.go` and open up http://localhost:8080 in the browser. For Chrome, in the console one should see
bytes=0-4 206
bytes=0-10 206
but if we use "disable cache" this becomes
bytes=0-4 206
GET http://localhost:8080/test 403 (Forbidden)
bytes=0-10 403
In both Safari and Firefox the second request is 403, cache or not.
Now, is this surprising? Yes. Does this violate any spec? I'll take Chromium dev's word [1] and say likely not. Should it be "fixed"? Hard to say, but I agree that "fixing" it could break existing things.
server.go:
`go run server.go` and open up http://localhost:8080 in the browser. For Chrome, in the console one should see but if we use "disable cache" this becomes In both Safari and Firefox the second request is 403, cache or not.Now, is this surprising? Yes. Does this violate any spec? I'll take Chromium dev's word [1] and say likely not. Should it be "fixed"? Hard to say, but I agree that "fixing" it could break existing things.
[1] https://issues.chromium.org/issues/390229583#comment16