From fb6fe3ed602d8adf30a6cc4f6f1b5e2f48091ade Mon Sep 17 00:00:00 2001 From: Marco Dallagiacoma Date: Mon, 28 Aug 2023 08:51:00 +0200 Subject: [PATCH] Separate headers by CR LF --- httpretty/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpretty/core.py b/httpretty/core.py index 69686458..b5fee9e0 100644 --- a/httpretty/core.py +++ b/httpretty/core.py @@ -1130,7 +1130,7 @@ def fill_filekind(self, fk): ) for item in string_list: - fk.write(utf8(item) + b'\n') + fk.write(utf8(item) + b'\r\n') fk.write(b'\r\n')