GuessContentType plugin
A lot of the built-in File objects just return application/octet-stream as a content-type by default. This is a problem for some clients, because they expect a correct contenttype.
There's really no accurate, fast and portable way to determine the contenttype so this extension does what the rest of the world does, and guesses it based on the file extension.
Located in /sources_custom/Sabre/DAV/Browser/GuessContentType.php (line 20)
Sabre_DAV_ServerPlugin | --Sabre_DAV_Browser_GuessContentType
Handler for teh afterGetProperties event
Simple method to return the contenttype
Initializes the plugin
Inherited From Sabre_DAV_ServerPlugin
Sabre_DAV_ServerPlugin::getFeatures()
Sabre_DAV_ServerPlugin::getHTTPMethods()
Sabre_DAV_ServerPlugin::initialize()
Documentation generated on Sun, 02 Jan 2011 23:15:47 +0000 by phpDocumentor 1.4.3