nextcloud / nextcloud/Android-SingleSignOn
SEARCH HTTP method is not supported
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 74
- Forks
- 36
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 17
Description
Issue
When trying to make a request using SEARCH method like desribed here, exception is thrown
https://docs.nextcloud.com/server/latest/developer_manual/client_apis/WebDAV/search.html
Example code:
val request = NextcloudRequest.Builder()
.setRequestBody(body)
.setMethod("SEARCH")
.setUrl(Uri.encode("/remote.php/dav/", "/"))
.build()
val response = nextcloudApi?.performNetworkRequestV2(request)
Exception:
com.nextcloud.android.sso.exceptions.NextcloudUnsupportedMethodException: The requested HTTP Method is not supported yet! Please contact the developers of the Android Single-On Library for Android
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the NextcloudRequest.Builder call using setMethod("SEARCH") and trace it into performNetworkRequestV2, where the unsupported-method exception is reported. Check how other HTTP methods are handled and add coverage for the example request; done means SEARCH no longer raises NextcloudUnsupportedMethodException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- api, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100