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

feat: return method not allowed when uploading to read only fs #1103

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

benmcclelland
Copy link
Member

Instead of an internal server error, we should be returning method not allowed when trying to upload to a read only filesystem or make other modifications that are expected to fail. This will give clearer feedback to the clients that this is not expected to work.

Fixes #1062

Instead of an internal server error, we should be returning
method not allowed when trying to upload to a read only
filesystem or make other modifications that are expected to
fail. This will give clearer feedback to the clients
that this is not expected to work.

Fixes #1062
@benmcclelland benmcclelland requested a review from niksis02 March 2, 2025 23:26
@benmcclelland benmcclelland merged commit 6361d77 into main Mar 5, 2025
24 checks passed
@benmcclelland benmcclelland deleted the ben/read-only-fs branch March 5, 2025 17:59
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.

[Feature] - Return permission denied rather than server error upon attempted PUT on ro-fs
2 participants