• Matthew Holt's avatar
    pprof: Set proper Content-Type header · e14a62f1
    Matthew Holt authored
    The standard lib pprof library doesn't set its own Content-Type header
    properly. If pprof is used with gzip, the index endpoint will be
    interpreted as a .gz file; so we force its hand and set the header.
    e14a62f1
pprof.go 1.45 KB