WebDavServer
WebDavServer copied to clipboard
Office and WPS files is supported?
Some applications have special behavior.
This server doesn't support microsoft specific extensions, but you have two extension points:
IEntryPropertyInitializer(singleton, default implementationDefaultEntryPropertyInitializer) which is used to initialize the default (and maybe custom) properties for a created collection/document.IMimeTypeDetector(singleton, default implementationDefaultMimeTypeDetector) which allows the support for custom mime types.
Other than that, this server doesn't support any microsoft specific extension, but it tries to detect WebDAV access from the Windows Explorer.
When you need additional response header values, then your only option is to copy the code from WebDavControllerBase and modify the responses passed into WebDavIndirectResult.
When you need special behaviour, then it would be nice to:
- Create an issue with the description of the desired behaviour (ideally with link to the specification)
- Creating a PR implementing the desired behaviour (Optional)
eh...,my mean is open file by office app,do not make a ext. but your IMimeTypeDetector give me a way.