diff options
author | Eric Wong <e@80x24.org> | 2014-11-20 03:53:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-11-20 20:34:26 +0000 |
commit | 682b981503b0e54f44bdefff60d7fc062d8ad1e2 (patch) | |
tree | 0021e4bab91ba03f1dade40824aa55de346c86ba | |
parent | 7bfd8efd3ebbdeda445acb8db8648fcbb866d8b8 (diff) | |
download | yahns-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.
-rw-r--r-- | lib/yahns/http_response.rb | 2 |
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" |