about summary refs log tree commit homepage
path: root/lib/yahns/tee_input.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/tee_input.rb')
-rw-r--r--lib/yahns/tee_input.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/tee_input.rb b/lib/yahns/tee_input.rb
index 9028a6e..09933ca 100644
--- a/lib/yahns/tee_input.rb
+++ b/lib/yahns/tee_input.rb
@@ -19,7 +19,7 @@ class Yahns::TeeInput < Yahns::StreamInput # :nodoc:
   def initialize(client, request)
     @len = request.content_length
     super
-    @tmp = client.class.tmpio_for(@len)
+    @tmp = client.class.tmpio_for(@len, request.env)
   end
 
   # :call-seq: