This commit is contained in:
yumoqing 2023-10-16 17:20:17 +08:00
parent 2d7c413ed9
commit 12f599ea21

View File

@ -330,7 +330,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
headers = {
'Content-Type': 'text/html; utf-8',
'Accept-Ranges': 'bytes',
'Content-Length': str(len(utxt))
'Content-Length': str(len(txt))
}
resp = Response(text=txt,headers=headers)
return resp