Returns the MIME type assoiciated with the specified file.
Syntax
getMimeType( context , string )
context.getMimeType( string )
Parameters
context
|
the Context object.
|
string
|
the file name.
|
Returns
string
|
the MIME type. null if none.
|
Notes
This method is only accessible by ss and by iScript Servlet.
Example
mime_type = Context( ).getMimeType( filename )
|