Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Content-Type Map

this package is a toolkit for HTTP。Just map file to content-type

Quick Start

	import "github.com/h2object/content-type"

	content_type.DefaultContentTypeHelper.ContentTypeByFilename("filename.htm")

Append your own content-type helper

	helper := content_type.NewContentTypeHelper()

	helper.AppendSuffix("htm", "text/html")

About

HTTP Content-Type Map

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages