Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Office and WPS files is supported? #30

Open
pizixie opened this issue Jul 3, 2018 · 2 comments
Open

Office and WPS files is supported? #30

pizixie opened this issue Jul 3, 2018 · 2 comments

Comments

@pizixie
Copy link

pizixie commented Jul 3, 2018

Some applications have special behavior.

@fubar-coder
Copy link
Collaborator

This server doesn't support microsoft specific extensions, but you have two extension points:

  1. IEntryPropertyInitializer (singleton, default implementation DefaultEntryPropertyInitializer) which is used to initialize the default (and maybe custom) properties for a created collection/document.
  2. IMimeTypeDetector (singleton, default implementation DefaultMimeTypeDetector) 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:

  1. Create an issue with the description of the desired behaviour (ideally with link to the specification)
  2. Creating a PR implementing the desired behaviour (Optional)

@pizixie
Copy link
Author

pizixie commented Jul 16, 2018

eh...,my mean is open file by office app,do not make a ext.
but your IMimeTypeDetector give me a way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants