From 12f599ea216ba93799367a20aa5c80e25aa8c83e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 16 Oct 2023 17:20:17 +0800 Subject: [PATCH] bugfix --- ahserver/processorResource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index 458cc14..e124746 100755 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -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