diff --git a/pkg/server/publish.go b/pkg/server/publish.go index 8f29ef732..e2441e1bc 100644 --- a/pkg/server/publish.go +++ b/pkg/server/publish.go @@ -390,6 +390,7 @@ func (pr *publishRequest) serveHTTP() { } if pr.Debug() { + pr.rw.Header().Set("Content-Type", "text/html") pr.pf("I am publish handler at base %q, serving root %q (permanode=%s), suffix %q, subreq %q