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

Fix HTTP 207 didn't handled properly #58

Merged
merged 3 commits into from
Mar 30, 2021

Conversation

kotori2
Copy link
Contributor

@kotori2 kotori2 commented Mar 29, 2021

My environment: nginx/1.18.0 (Ubuntu), sardine-android:0.8
On Nginx WebDAV server, if you send a PROPFIND request, it will return a HTTP 207 response listing all possible files. But in my case, sardine.exists checks only the HTTP status code <= 299 instead of parsing into the XML file.
image
Since I don't want to implement a XML parser, I change this request to HEAD as the OG sardine did.

@guillaume-tgl
Copy link
Contributor

I've just fixed some tests in master. Could you merge master into your branch to make sure tests are still passing?

@kotori2
Copy link
Contributor Author

kotori2 commented Mar 30, 2021

Workflow runs completed with no jobs

GHA not configured for PR?

@guillaume-tgl
Copy link
Contributor

I've added a condition to trigger on PRs. Could you merge master again?

@kotori2
Copy link
Contributor Author

kotori2 commented Mar 30, 2021

All checks have passed

@guillaume-tgl guillaume-tgl merged commit 3074b78 into thegrizzlylabs:master Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants