about summary refs log tree commit homepage
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/proxy_pass.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/proxy_pass.rb b/extras/proxy_pass.rb
index b7fc87a..99ca6d6 100644
--- a/extras/proxy_pass.rb
+++ b/extras/proxy_pass.rb
@@ -200,7 +200,7 @@ class ProxyPass # :nodoc:
       logger = env['rack.logger'] and
         Yahns::Log.exception(logger, 'proxy_pass', e)
     end
-    [ 502, [ %w(Content-Length 0), %w(Content-Type text/plain) ], [] ]
+    [ 502, { 'Content-Length' => '0', 'Content-Type' => 'text/plain' }, [] ]
   end
 
   def send_body(input, ures, chunked)