bug
This commit is contained in:
parent
ac66f3632c
commit
7041c19b57
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ class SassAsyncMiddleware(_MiddlewareFactory):
|
||||||
'type': 'http.response.start',
|
'type': 'http.response.start',
|
||||||
'status': self.error_status,
|
'status': self.error_status,
|
||||||
'headers': [
|
'headers': [
|
||||||
('Content-Type', 'text/css; charset=utf-8'),
|
(b'Content-Type', b'text/css; charset=utf-8'),
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
await send({
|
await send({
|
||||||
|
|
@ -124,7 +124,7 @@ class SassAsyncMiddleware(_MiddlewareFactory):
|
||||||
'type': 'http.response.start',
|
'type': 'http.response.start',
|
||||||
'status': 200,
|
'status': 200,
|
||||||
'headers': [
|
'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)):
|
async for chunk in _read_file(os.path.join(package_dir, result)):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue