From 7041c19b57e3ff30589c49b1abd913b201d73d6e Mon Sep 17 00:00:00 2001 From: Yusur Princeps Date: Sun, 10 Aug 2025 10:55:47 +0200 Subject: [PATCH] bug --- src/suou/sass.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/suou/sass.py b/src/suou/sass.py index f727f9d..5124530 100644 --- a/src/suou/sass.py +++ b/src/suou/sass.py @@ -87,7 +87,7 @@ class SassAsyncMiddleware(_MiddlewareFactory): 'type': 'http.response.start', 'status': self.error_status, 'headers': [ - ('Content-Type', 'text/css; charset=utf-8'), + (b'Content-Type', b'text/css; charset=utf-8'), ] }) await send({ @@ -124,7 +124,7 @@ class SassAsyncMiddleware(_MiddlewareFactory): 'type': 'http.response.start', 'status': 200, 'headers': [ - ('Content-Type', 'text/css; charset=utf-8'), + (b'Content-Type', b'text/css; charset=utf-8'), ] }) async for chunk in _read_file(os.path.join(package_dir, result)):