about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-17 14:10:13 -0700
committerEric Wong <normalperson@yhbt.net>2011-03-17 14:10:13 -0700
commitfd12391c2858bb847031de85ce16ff35b0b48c64 (patch)
tree9c634e87ee47d3df8bef809368319561d4527d1c
parentd92f8ceeb5ea8b5610d7125f8b656231b44fd3ed (diff)
downloadkcar-fd12391c2858bb847031de85ce16ff35b0b48c64.tar.gz
Nobody sets it, so discourage new users from setting it since
it's stupid :P.
-rw-r--r--lib/kcar/response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kcar/response.rb b/lib/kcar/response.rb
index 94e8825..dba84e6 100644
--- a/lib/kcar/response.rb
+++ b/lib/kcar/response.rb
@@ -113,7 +113,7 @@ class Kcar::Response
     # in the response, we'll just yield a stringified version to our
     # server and pretend it's part of the body.
     trailers = @parser.extract_trailers(@hdr)
-    yield(trailers.map! { |k,v| "#{k}: #{v}\r\n" }.join("") << CRLF)
+    yield(trailers.map! { |k,v| "#{k}: #{v}\r\n" }.join << CRLF)
   end
 
   def each_until_eof