mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-22 01:06:41 +08:00

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.