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

Improve HTTPFileSystem::Stat #78

Open
bbockelm opened this issue Jan 4, 2025 · 0 comments
Open

Improve HTTPFileSystem::Stat #78

bbockelm opened this issue Jan 4, 2025 · 0 comments
Assignees

Comments

@bbockelm
Copy link
Collaborator

bbockelm commented Jan 4, 2025

The HTTPFileSystem::Stat code currently just invokes HTTPFile::Stat. This works -- provided the object in question isn't a directory!

Let's make the HTTPFileSystem code a bit more flexible and handle either directories or files. If we're talking to a WebDAV backend (see #72), then use the PROPFIND verb instead and look for the collection attribute.

As with the directory listing, the xrdcl-pelican code has XML parsing code worth reusing (or just using as inspiration).

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