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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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