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

Plack::App::File check REQUEST_METHOD after locating file #681

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robrwo
Copy link
Contributor

@robrwo robrwo commented Sep 5, 2022

If the static middleware is used with the pass_through option, then
other request methods (such as POST) will fail.

This fixes that bug introduced in f2d220e and fixes #682

If the static middleware is used with the pass_through option, then
other equest methods (such as POST) will fail.
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.

Plack::Middleware::Static pass_through fails for non-HEAD/GET methods
1 participant