You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileServer uses the directory's modtime as the Last-Modified date.
Given the current behaviour is mostly reasonable (use unique URIs for unique resources), I don't think much will change unless #60940 is implemented.
Go version
go version go1.24.3 linux/amd64
Output of
go env
in your module/workspace:What did you do?
This is just #42051. Re-reported because I think it was incorrectly closed.
The program is still:
localhost:8000
in Chrome or Firefox.I believe this has something to do with the interaction between the Last-Modified response and If-Modified-Since request headers.
I have tested this on Firefox and Chrome on both Linux and macOS.
What did you see happen?
The content of the directory where the server was previously running and status code 304
What did you expect to see?
The current directory listing
The text was updated successfully, but these errors were encountered: