We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17480bd commit 50b1ec6Copy full SHA for 50b1ec6
modules/typesniffer/typesniffer.go
@@ -77,7 +77,7 @@ func (ct SniffedType) IsBrowsableBinaryType() bool {
77
78
// GetMimeType returns the mime type
79
func (ct SniffedType) GetMimeType() string {
80
- return strings.SplitN(ct.contentType, ";", 2)[0];
+ return strings.SplitN(ct.contentType, ";", 2)[0]
81
}
82
83
// DetectContentType extends http.DetectContentType with more content types. Defaults to text/unknown if input is empty.
0 commit comments