|
The new version provides class MimeType that returns mime-type by file extension. This class is required to return correct mime-type from IResource.ContentType implementation.
All samples are modified to provide new IResource.ContentType implementation. The correct mime-type is important for Firefox users. When downloading a hyperlinked file from a WebDAV server Firefox relies on mime-type returned when deciding which action to perform. Some files (such as executables and documents) must be prompted to be saved, while others (such as html pages) must be opened in a browser without any additional user input. If incorrect mime-type is returned for HTML file stored on WebDAV server the Firefox will prompt to save a file instead of displaying it in a browser.
The new class and mime-type returned from server has no impact on Internet Explorer and Web Folders client. Unlike Firefox Internet Explorer relies on file extension.
|