Internet Direct (Indy)
Home
PreviousUpNext
TIdCustomHTTPServer.MIMETable Property

Represents the MIME type table for the HTTP server implementation.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.