lib/httpx/plugins/h2c.rb in httpx-0.24.7 vs lib/httpx/plugins/h2c.rb in httpx-1.0.0
- old
+ new
@@ -11,10 +11,9 @@
module H2C
VALID_H2C_VERBS = %w[GET OPTIONS HEAD].freeze
class << self
def load_dependencies(klass)
- require "base64"
klass.plugin(:upgrade)
end
def call(connection, request, response)
connection.upgrade_to_h2c(request, response)