forked from encode/starlette
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send 404 instead of 500 when filename requested is too long on `Stati…
…cFiles` (encode#2583) * Make "Filename too long" return 404 not 500 * Simplify code source * Correct comment --------- Co-authored-by: Jeremy Epstein <jeremy.epstein@seertechsolutions.com> Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
- Loading branch information
1 parent
fd7aa0a
commit c61419e
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters