From 1d1831ba40fe53a37e5ab87e9913dd1c52349066 Mon Sep 17 00:00:00 2001 From: daftshady Date: Fri, 27 Sep 2013 22:17:40 +0900 Subject: [PATCH] fixed extra bonus bug --- requests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/models.py b/requests/models.py index 8fd9735..3f15cc1 100644 --- a/requests/models.py +++ b/requests/models.py @@ -295,7 +295,7 @@ class PreparedRequest(RequestEncodingMixin, RequestHooksMixin): p = PreparedRequest() p.method = self.method p.url = self.url - p.headers = self.headers + p.headers = self.headers.copy() p.body = self.body p.hooks = self.hooks return p -- 2.34.1