From c692e29ba2df80babfe9228b86cfcc43cc7fe1d6 Mon Sep 17 00:00:00 2001 From: Ciro Spaciari Date: Sat, 13 Jul 2024 11:19:33 -0700 Subject: [PATCH] fix #187 (#190) --- src/socketify/socketify.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/socketify/socketify.py b/src/socketify/socketify.py index e670486..4ebf00f 100644 --- a/src/socketify/socketify.py +++ b/src/socketify/socketify.py @@ -1669,7 +1669,9 @@ class AppResponse: def redirect(self, location, status_code=302): self.write_status(status_code) self.write_header("Location", location) - self.end_without_body(False) + # this is buggy need to update uWS + # self.end_without_body(False) + self.end("") return self def write_offset(self, offset):