aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2012-10-05 08:13:07 +0200
committerGibheer <gibheer@gmail.com>2012-10-05 08:13:07 +0200
commit896157c2349bbea9e2c4e5cb351ea2f7778263b3 (patch)
tree58b7b63c656089f0d222aa5a1c73ae341cf2b4c0 /lib
parent609015b6fc7e5d7017ee47f7655137a3da7cb100 (diff)
the body is an array
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 7515cea..70b82cf 100644
--- a/lib/zero/response.rb
+++ b/lib/zero/response.rb
@@ -16,7 +16,7 @@ module Zero
# builds the response for rack and checks for protocol errors
# @return Array the rack response
def response
- [@code, @header, @body]
+ [@code, @header, [@body]]
end
end
end