mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-06 02:01: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.