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

unable to mount a webdav network drive on windows with redmine_dmsf because of puma #343

Open
id3nom opened this issue Oct 11, 2024 · 1 comment

Comments

@id3nom
Copy link

id3nom commented Oct 11, 2024

puma is not accepting the PROPFIND http method by default. and log the following message:

Unsupported HTTP method used: PROPFIND

To resolve the problem I've copied a Gemfile.local config with the webrick dependency and started the container with the command rails server -u webrick -b 0.0.0.0 then the call with the PROPFIND http method where correctly sent to the redmine app.

It would be nice to have an environment variable to enable all http methods with puma.

@tianon
Copy link
Member

tianon commented Oct 11, 2024

Oh fun -- looks like this limitation was reported/discussed in Puma upstream in puma/puma#3014, with PROPFIND being one of the examples most frequently discussed there.

The end result appears to have been puma/puma#3106 / puma/puma@dfd33df, which is part of Puma 6.3.0+. I'm not entirely sure where you'd put your "puma configuration", but it's possible you can use supported_http_methods in that to fix this with Puma for your use case / this Redmine plugin's functionality.

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