From ec842abb926c1e4904c440994946d4c623681e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 23 Jun 2026 09:06:04 +0400 Subject: [PATCH] =?UTF-8?q?v1.0.135:=20fix=20HTTP=20header=20order=20?= =?UTF-8?q?=E2=80=94=20send=5Fresponse=20before=20=5Fsend=5Fcors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/convert_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/convert_server.py b/deploy/convert_server.py index 14bfed6..9bc49cb 100755 --- a/deploy/convert_server.py +++ b/deploy/convert_server.py @@ -311,9 +311,9 @@ class Handler(BaseHTTPRequestHandler): json={"filename": filename, "data": "\\x" + file_data.hex()}, timeout=60 ) - self._send_cors() if resp.status_code == 200: self.send_response(200) + self._send_cors() self.send_header("Content-Type", "application/json; charset=utf-8") self.end_headers() self.wfile.write(resp.content)