From 702ed0b11465b0acd6dd68a9f5ee45fae938046b Mon Sep 17 00:00:00 2001 From: Alex Lowe Date: Thu, 3 Oct 2024 14:41:51 -0400 Subject: [PATCH] fix(tests/legacy): don't send bad data --- tests/legacy/fake_servers/snapd.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/legacy/fake_servers/snapd.py b/tests/legacy/fake_servers/snapd.py index 4616b28a32..be5c52a01f 100644 --- a/tests/legacy/fake_servers/snapd.py +++ b/tests/legacy/fake_servers/snapd.py @@ -53,7 +53,6 @@ def _handle_snaps(self): def _handle_snap_file(self, parsed_url): self.send_response(200) - self.send_header("Content-Length", len(parsed_url)) self.send_header("Content-type", "text/plain") self.end_headers() self.wfile.write(parsed_url.encode())