Topic Path: Symbol Reference > Classes > TIdCustomHTTPServer Class > TIdCustomHTTPServer Properties > MIMETable Property
ContentsIndexHome
PreviousUpNext
TIdCustomHTTPServer.MIMETable Property

Represents the MIME type table for the HTTP server implementation.

property MIMETable: TIdMimeTable;

MIMETable is a read-only TIdMimeTable property that is used to retrieve the registered MIME type for a file requested in the ServeFile method. 

Values in MIMETable may be assigned to the ContentType property in the TIdHTTPResponseInfo containing headers written in the HTTP response. 

MIMETable is initialized in the Create constructor, and loaded with default values using TIdMimeTable.BuildCache. MIMETable is freed in the Destroy method.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.