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

Implement some kind of Paging support? #231

Open
yarikoptic opened this issue Jan 23, 2025 · 5 comments
Open

Implement some kind of Paging support? #231

yarikoptic opened this issue Jan 23, 2025 · 5 comments

Comments

@yarikoptic
Copy link
Member

I thought we had an issue but I think I just mentioned it in some comments elsewhere.

Looking at https://www.webdavsystem.com/javaserver/doc/paging/ suggests that WEBDAV might have support for pagination. That would be awesome if some could be added to dandidav to eliminate possible timeouts while needing to request full lists of items for heavy folders etc.

Also it might make navigation in browser view also more convenient.

@jwodder
Copy link
Member

jwodder commented Jan 23, 2025

@yarikoptic Paging does not seem to be in any WebDAV standard; it seems to be specific to the WebDAV Server Library for Java.

Also, as I have stated before, the HTML view is not actually part of WebDAV.

@yarikoptic
Copy link
Member Author

indeed, could not find anything besides statements that it is not supported.

Can then PROPFIND requests start to return as soon as they gather any information instead of delaying responding until everything is known? so -- to "stream" as more information figured out.

@jwodder
Copy link
Member

jwodder commented Jan 23, 2025

@yarikoptic Theoretically, yes, but doing that here seems like too much pain for too little gain.

@yarikoptic
Copy link
Member Author

wouldn't that allow to address e.g.

as it could start providing results as they come in from the API, and in general make webdav instance "more responsive"?

@jwodder
Copy link
Member

jwodder commented Jan 24, 2025

@yarikoptic It wouldn't fully address that. Large pages would then load only partially before the request timed out, resulting in a partial (and, for PROPFIND, invalid) response.

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

No branches or pull requests

2 participants