summaryrefslogtreecommitdiff
path: root/httpretty/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'httpretty/core.py')
-rw-r--r--httpretty/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpretty/core.py b/httpretty/core.py
index 8f05c69..5ad0952 100644
--- a/httpretty/core.py
+++ b/httpretty/core.py
@@ -590,7 +590,7 @@ class Entry(BaseClass):
if self.body_is_callable:
status, headers, self.body = self.callable_body(self.request, self.info.full_url(), headers)
headers.update({
- 'content-length': len(self.body)
+ 'content-length': str(len(self.body)),
})
string_list = [