From 896157c2349bbea9e2c4e5cb351ea2f7778263b3 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Fri, 5 Oct 2012 08:13:07 +0200 Subject: the body is an array --- lib/zero/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2