Constructs the MIME media type, subtype and encoding for the file.
function ReturnMIMEType( var MediaType: String; var EncType: String ): Boolean;
Parameters |
Description |
MediaType |
Media type and subtype for the file. |
EncType |
Encoding for the file. |
Boolean - True when the MIME type is found, False when not found.
ReturnMIMEType is a Boolean function that validates the MIME media media type, subtype, and encoding using the values passed in the MediaType and EncType arguments.
ReturnMIMEType compares the value in MediaType to the MIMEMediaType values defined in the Indy library. ReturnMIMEType returns True if MediaType is one of the standard MIME types, or uses the extensibility prefix 'x-' for one of the standard MIME types.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|