View definition

func ResolveContentType

Defined in github.com/revel/revel/http.go

Description

Get the content type. e.g. From "multipart/form-data; boundary=--" to "multipart/form-data" If none is specified, returns "text/html" by default.

ResolveContentType is referenced in 1 repository

github.com/revel/revel