contentTypeIsUnknown

Checks if the content type is the generic "unknown" type. On UNIX this is the "application/octet-stream" mimetype, while on win32 it is "*" and on OSX it is a dynamic type or octet-stream.

bool
contentTypeIsUnknown
(
string type
)

Parameters

type string

a content type string

Return Value

Type: bool

true if the type is the unknown type.