Namespace: ITHit.WebDAV.Server
The mime-type provided by this property is returned in a Content-Type header with GET request.
When deciding which action to perform when downloading a file some WebDAV clients and browsers (such as Internet Explorer) rely on file extension, while others (such as Firefox) rely on Content-Type header returned by server. For identical behavior in all browsers and WebDAV clients your server must return a correct mime-type with a requested file.
The code below is part of 'WebDAVServer.NtfsStorage' sample provided with the SDK.
public virtual string ContentType { get { return MimeType.GetMimeType(fileSystemInfo.Extension) ?? "application/octet-stream"; } }