Mark the response as sent in _send_bytes

This commit is contained in:
ai-bot committed 2026-11-14 12:22:26 +00:00
1 parent ae69171f05
commit e10e76cf4e
1 file changed
+1
+1
View File
@@ -339,6 +339,7 @@ class SkuldHandler(BaseHTTPRequestHandler):
self.end_headers()
if self.command != "HEAD":
self.wfile.write(data)
self._response_sent = True
def _redirect(self, location):
self.send_response(302)