diff options
Diffstat (limited to 'lib/webrick/httpproxy.rb')
-rw-r--r-- | lib/webrick/httpproxy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/webrick/httpproxy.rb b/lib/webrick/httpproxy.rb index 14e3499775..8864620e12 100644 --- a/lib/webrick/httpproxy.rb +++ b/lib/webrick/httpproxy.rb @@ -24,8 +24,8 @@ module WEBrick end class HTTPProxyServer < HTTPServer - def initialize(config) - super + def initialize(config={}, default=Config::HTTP) + super(config, default) c = @config @via = "#{c[:HTTPVersion]} #{c[:ServerName]}:#{c[:Port]}" end |