Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ServeFile (0.08 sec)

  1. doc/godebug.md

    defaults to `x509keypairleaf=1`. Previous versions default to
    `x509keypairleaf=0`.
    
    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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top