aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStormwind <stormwind@stormwinds-page.de>2012-11-23 19:35:14 +0100
committerStormwind <stormwind@stormwinds-page.de>2012-11-23 19:35:14 +0100
commitc15e8bdacb5d85b5ccfd154015473674fa8971dc (patch)
treeb3d3abb1bbb5d1c2b72371396ebabe819c38bda5 /lib
parent406c6f88d3bd0abb423fe32e48cd0a3137df4500 (diff)
Sets Content-Type header in to_a
Diffstat (limited to 'lib')
-rw-r--r--lib/zero/response.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zero/response.rb b/lib/zero/response.rb
index b8aeff0..2660924 100644
--- a/lib/zero/response.rb
+++ b/lib/zero/response.rb
@@ -33,6 +33,7 @@ module Zero
def to_a()
# TODO Remove content length and body, on certain status codes
# TODO Set content length, if not already set
+ content_length
# TODO Set content type, if not already set
[status, header, body]