aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/zero/response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zero/response.rb b/lib/zero/response.rb
index 373a65b..24c1aaf 100644
--- a/lib/zero/response.rb
+++ b/lib/zero/response.rb
@@ -55,7 +55,7 @@ module Zero
# Also creates one, if it does not exists
#
def content_length
- self.header['Content-Length'] = body.join.bytesize
+ self.header['Content-Length'] = body.join.bytesize.to_s
end
# Sets the content type header to the given value