func net/http.DetectContentType

8 uses

	net/http (current package)
		fs.go#L240: 			ctype = DetectContentType(buf[:n])
		h2_bundle.go#L5997: 			ctype = DetectContentType(p)
		server.go#L1409: 			setHeader.contentType = DetectContentType(p)
		sniff.go#L21: func DetectContentType(data []byte) string {

	net/http/httptest
		recorder.go#L99: 		m.Set("Content-Type", http.DetectContentType(b))

	github.com/evanw/esbuild/internal/bundler
		bundler.go#L511: 		mimeType = http.DetectContentType([]byte(contents))

	golang.org/x/net/http2
		server.go#L2442: 			ctype = http.DetectContentType(p)

	google.golang.org/api/internal/gensupport
		media.go#L72: 	cs.ctype = http.DetectContentType(cs.start)