diff options
author | Stormwind <stormwind@stormwinds-page.de> | 2012-11-24 16:17:14 +0100 |
---|---|---|
committer | Stormwind <stormwind@stormwinds-page.de> | 2012-11-24 16:17:14 +0100 |
commit | 7213e3e8f6cf1237ce86a80e26391e98656766a1 (patch) | |
tree | 0b75d105493f196396f7ab41b5f0f8b43ed227c4 /lib | |
parent | 13eae5cfa5efd6af6e47ea03a58fbb79399a3308 (diff) |
Content-Length must be a String
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zero/response.rb | 2 |
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 |