Partager via


HcMimeType

This property indicates which MIME types are supported by the compression scheme. Only static files with the specified MIME type will be compressed by IIS. If this setting is empty, then the scheme supports all MIME types.

In addition to MIME type matches, HcDoOnDemandCompression and HcDoStaticCompression must be set to TRUE for compression to be performed.

The Web service must be restarted before any changes to this property take effect.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

STRING

ABO Data Type

STRING_METADATA

Schema Default

null

Internal Default

null

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

2239

Friendly ID

MD_HC_MIME_TYPE

Property Attributes

NO_ATTRIBUTES

User Type

IIS_MD_UT_SERVER

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC/Filters/Compression/gzip

/LM/W3SVC/Filters/Compression/deflate

IIsCompressionScheme

Flags

There are no flags for this property.

Requirements

Client: Requires Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also