Removal Of Response Headers For Errors Can Break On-The-Fly Encoding in Go 1.23 Aug 04, 2024In Go 1.23, ServeContent, ServeFile, and ServeFileFS remove the Content-Encoding header, affecting middleware that applies on-the-fly encoding.