-
Notifications
You must be signed in to change notification settings - Fork 30
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
SEARCH HTTP method is not supported #427
Comments
My two cents: I still see no reason why we should limit the HTTP verbs to a tiny subset. We had requests for |
Reason is simply time, as we have to add this manually: And back then I wanted to avoid to add untested methods… |
This argument is like having a whitelist for URLs - in my opinion it is up to the responsibility of the 3rd party app developer to ensure that the method is valid and accepted by the endpoint. In the worst case, the server will respond with Am i missing something here? 😕 |
True…Then my time argument still counts 🙈🙈🙈 |
That's what i am trying to say: If we would drop the whitelist and just allow developers to use each method they want, we could safe time to adjust the whitelist in the SSO list, in the Files app and handling the issues / requests 🙂 If a developer wants to use |
I fear that is not possible, as they keyword "SEARCH" needs to be tranferred to our NCSearchMethod (just an example). There are specific classes for every webdav type within our used http library. Of course 3rd party libraries could integrate those and then pass the entire class, but this then circumvents somehow the idea of this lib. |
@pedja1 are you still interested in this feature? Looks like nothing is actually blocking here, so maybe you want to contribute this HTTP verb? Tobias already mentioned the side of the Nextcloud Files app, and I am sure we can help you to point out the relevant positions in the SSO lib. |
Issue
When trying to make a request using
SEARCH
method like desribed here, exception is thrownhttps://docs.nextcloud.com/server/latest/developer_manual/client_apis/WebDAV/search.html
Example code:
Exception:
The text was updated successfully, but these errors were encountered: