plack / Plack

PSGI toolkit and server adapters
http://plackperl.org/
Other
486 stars 214 forks source link

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

Open robrwo opened 2 years ago

robrwo commented 2 years ago

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 f2d220e90a25597363801eb92e6f37bc35807218 and fixes #682