summary refs log tree commit
path: root/lib/rack/handler/webrick.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/handler/webrick.rb')
-rw-r--r--lib/rack/handler/webrick.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rack/handler/webrick.rb b/lib/rack/handler/webrick.rb
index 9044ab78..a82dd585 100644
--- a/lib/rack/handler/webrick.rb
+++ b/lib/rack/handler/webrick.rb
@@ -4,6 +4,7 @@ require 'webrick'
 require 'stringio'
 
 require_relative '../constants'
+require_relative '../handler'
 require_relative '../version'
 
 # This monkey patch allows for applications to perform their own chunking
@@ -124,5 +125,7 @@ module Rack
         end
       end
     end
+
+    register 'webrick', WEBrick
   end
 end