- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for ServeContent (0.06 seconds)
-
doc/godebug.md
Go 1.23 changed [`net/http.ServeContent`](/pkg/net/http#ServeContent), [`net/http.ServeFile`](/pkg/net/http#ServeFile), and [`net/http.ServeFS`](/pkg/net/http#ServeFS) to remove Cache-Control, Content-Encoding, Etag, and Last-Modified headers when serving an error. This behavior is controlled by the [`httpservecontentkeepheaders` setting](/pkg/net/http#ServeContent).
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Dec 03 00:18:09 GMT 2025 - 24.7K bytes - Click Count (0)