From d579ec634d47b246d37d2e8b6fa5dc224d3bcf90 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Fri, 15 Mar 2024 22:56:16 -0400 Subject: [PATCH] fix NameError in CachedStaticResource._handle --- relay/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/application.py b/relay/application.py index ee5b465..cb32357 100644 --- a/relay/application.py +++ b/relay/application.py @@ -262,7 +262,7 @@ class CachedStaticResource(StaticResource): try: return web.Response( body = self.cache[rel_url], - content_type = guess_type(path)[0] + content_type = guess_type(rel_url)[0] ) except KeyError: