about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-11-20 03:53:44 +0000
committerEric Wong <e@80x24.org>2014-11-20 20:34:26 +0000
commit682b981503b0e54f44bdefff60d7fc062d8ad1e2 (patch)
tree0021e4bab91ba03f1dade40824aa55de346c86ba /lib
parent7bfd8efd3ebbdeda445acb8db8648fcbb866d8b8 (diff)
downloadyahns-682b981503b0e54f44bdefff60d7fc062d8ad1e2.tar.gz
Our kv_str method already fails if `$,' is a non-empty string.
Rack::Chunked and likely other middlewares fails when `$,' is
not empty, too, so supporting apps which set `$,' is probably
not feasible.
Diffstat (limited to 'lib')
-rw-r--r--lib/yahns/http_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/http_response.rb b/lib/yahns/http_response.rb
index 33ae93e..e48e57c 100644
--- a/lib/yahns/http_response.rb
+++ b/lib/yahns/http_response.rb
@@ -27,7 +27,7 @@ module Yahns::HttpResponse # :nodoc:
   CONN_CLOSE = "Connection: close\r\n\r\n"
   Z = ""
   CCC_RESPONSE_START = [ 'HTTP', '/1.1 ' ]
-  RESPONSE_START = CCC_RESPONSE_START.join('')
+  RESPONSE_START = CCC_RESPONSE_START.join
   R100_RAW = "HTTP/1.1 100 Continue\r\n\r\n"
   R100_CCC = "100 Continue\r\n\r\nHTTP/1.1 "
   HTTP_EXPECT = "HTTP_EXPECT"