View definition

func DefaultResponseContentType

Defined in github.com/emicklei/go-restful/response.go

Description

If Accept header matching fails, fall back to this type. Valid values are restful.MIME_JSON and restful.MIME_XML Example:

restful.DefaultResponseContentType(restful.MIME_JSON)

DefaultResponseContentType is referenced in 5 repositories

github.com/AchievementNetwork/vasco github.com/alex-hutton/gtc github.com/dcos-labs/MongoDB

...