From 9a3fd9563665cb5e6034233c548c321ebefed686 Mon Sep 17 00:00:00 2001 From: caryoscelus Date: Mon, 19 Sep 2022 12:12:22 +0000 Subject: [PATCH] comments --- src/Ui/UiRequest.py | 1 + src/main.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ui/UiRequest.py b/src/Ui/UiRequest.py index 90329a8b..e34d22cb 100644 --- a/src/Ui/UiRequest.py +++ b/src/Ui/UiRequest.py @@ -124,6 +124,7 @@ class UiRequest(object): ).encode("utf8") return iter([ret_error, ret_body]) + # TODO: phase out .bit support # Prepend .bit host for transparent proxy if self.isDomain(self.env.get("HTTP_HOST")): path = re.sub("^/", "/" + self.env.get("HTTP_HOST") + "/", path) diff --git a/src/main.py b/src/main.py index b076a8f4..a5e15070 100644 --- a/src/main.py +++ b/src/main.py @@ -1,4 +1,3 @@ -# Included modules import os import sys import stat