mirror of
https://github.com/gogs/gogs.git
synced 2026-03-04 03:01:01 +01:00
html, etc According to http://golang.org/pkg/net/http/#DetectContentType "If the Header does not contain a Content-Type line, Write adds a Content-Type set to the result of passing the initial 512 bytes of written data to DetectContentType."