about summary refs log tree commit homepage
path: root/lib/yahns/proxy_pass.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/proxy_pass.rb')
-rw-r--r--lib/yahns/proxy_pass.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/proxy_pass.rb b/lib/yahns/proxy_pass.rb
index 15ae17c..7bbab51 100644
--- a/lib/yahns/proxy_pass.rb
+++ b/lib/yahns/proxy_pass.rb
@@ -243,6 +243,6 @@ class Yahns::ProxyPass # :nodoc:
     [ 500, [], [] ]
   rescue => e
     Yahns::Log.exception(env['rack.logger'], 'proxy_pass', e)
-    [ 502, [ %w(Content-Length 0), %w(Content-Type text/plain) ], [] ]
+    [ 502, { 'Content-Length' => '0', 'Content-Type' => 'text/plain' }, [] ]
   end
 end