diff --git a/example/upgrade_server.rb b/example/upgrade_server.rb index d7619d53..40bcad49 100644 --- a/example/upgrade_server.rb +++ b/example/upgrade_server.rb @@ -2,7 +2,6 @@ require_relative 'helper' require 'http_parser' -require 'base64' options = { port: 8080 } OptionParser.new do |opts| diff --git a/lib/http/2/server.rb b/lib/http/2/server.rb index bb22bfb1..e2b89992 100644 --- a/lib/http/2/server.rb +++ b/lib/http/2/server.rb @@ -1,3 +1,4 @@ +require 'base64' module HTTP2 # HTTP 2.0 server connection class that implements appropriate header # compression / decompression algorithms and stream management logic.