diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index 3c1f5d7..a5c3b93 100755 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -359,7 +359,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): if self.request_filename and os.path.isdir(self.request_filename): path = '%s/oops' % path p = self.relatedurl(path,url) - schema = request.headers.get('X-Forward-Scheme') or request.scheme + scheme = request.headers.get('X-Forward-Scheme') or request.scheme return '%s://%s%s' % (scheme, h, p) async def path_call(self, request, path, params={}):