about summary refs log tree commit homepage
path: root/lib/yahns/http_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/http_context.rb')
-rw-r--r--lib/yahns/http_context.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yahns/http_context.rb b/lib/yahns/http_context.rb
index bd455bd..349e129 100644
--- a/lib/yahns/http_context.rb
+++ b/lib/yahns/http_context.rb
@@ -49,11 +49,11 @@ module Yahns::HttpContext # :nodoc:
     # input_buffering == false is handled in http_client
     return app if @client_max_body_size == nil
 
-    require 'yahns/cap_input'
+    require_relative 'cap_input'
     return app if @input_buffering == true
 
     # @input_buffering == false/:lazy
-    require 'yahns/max_body'
+    require_relative 'max_body'
     Yahns::MaxBody.new(app, @client_max_body_size)
   end