Skip to content

Conversation

@soerenmeier
Copy link
Contributor

Fixes a bug in ServeDir where non-GET/HEAD requests were incorrectly processed when call_fallback_on_method_not_allowed is enabled but no fallback service is provided.

Problem
When configured with call_fallback_on_method_not_allowed(true) but no fallback service, non-GET/HEAD requests would proceed through normal file serving logic instead of returning 405 Method Not Allowed.

Fixes a bug in `ServeDir` where non-GET/HEAD requests were incorrectly
processed when `call_fallback_on_method_not_allowed` is enabled but no
fallback service is provided.
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.

1 participant