mimeutil

package
v1.233.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mimeutil resolves consistent content types for published files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentType

func ContentType(path, detected string) string

ContentType prefers the filename extension, falls back to detected content, and preserves a detected charset for text formats without assuming UTF-8.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL