Fix blocking I/O in CachingStaticResource (#119663)

This commit is contained in:
J. Nick Koston
2024-06-14 01:27:50 -05:00
committed by GitHub
parent 38a6e666a7
commit e6b7301367

View File

@@ -80,4 +80,4 @@ class CachingStaticResource(StaticResource):
}, },
) )
return await super()._handle(request) raise HTTPForbidden if filepath is None else HTTPNotFound