ContentType.isUnknown

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.

struct ContentType
static
bool
isUnknown
(
string type
)

Parameters

type string

a content type string

Return Value

Type: bool

%TRUE if the type is the unknown type.

Meta