diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-06-05 00:19:05 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-06-05 00:19:25 -0700 |
commit | a48695449f49e6900819fed472f23408c62b5501 (patch) | |
tree | fa8ffc367a155fef3e5620191f3436572f54d1fe /lib/unicorn/http_request.rb | |
parent | 4716aab9530cabb14448a5123865b9f79b77f40c (diff) | |
download | unicorn-a48695449f49e6900819fed472f23408c62b5501.tar.gz |
Diffstat (limited to 'lib/unicorn/http_request.rb')
-rw-r--r-- | lib/unicorn/http_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb index 24f8247..061a6ab 100644 --- a/lib/unicorn/http_request.rb +++ b/lib/unicorn/http_request.rb @@ -30,7 +30,7 @@ module Unicorn # Optimize for the common case where there's no request body # (GET/HEAD) requests. Z = '' - Z.force_encoding(Encoding::Binary) if Z.respond_to?(:force_encoding) + Z.force_encoding(Encoding::BINARY) if Z.respond_to?(:force_encoding) NULL_IO = StringIO.new(Z) LOCALHOST = '127.0.0.1'.freeze |