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

A way to "raw" GET/PUT the config files would be helpful in automated infrastructure #31

Open
Circuitsoft opened this issue Nov 28, 2022 · 1 comment

Comments

@Circuitsoft
Copy link

While it's not too hard to build a valid request for /save in Python or sh/curl, getting the current file contents is much more difficult. It seems the only way to download it is via server-side events. I started trying to write a "raw" handler, but I've never done Go before.

@Circuitsoft
Copy link
Author

A potentially simple implementation would be hosting WebDAV at some URL via https://pkg.go.dev/golang.org/x/net/webdav, filtered by ConfigFiles in the webproc config file.

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

1 participant