handled in superclass

This commit is contained in:
Brian D. Burns 2012-12-29 16:40:38 -05:00 committed by technoweenie
parent cc27ff9fb4
commit f24b1b373f

View File

@ -4,8 +4,6 @@ module Faraday
class Adapter < Middleware class Adapter < Middleware
CONTENT_LENGTH = 'Content-Length'.freeze CONTENT_LENGTH = 'Content-Length'.freeze
extend MiddlewareRegistry
register_middleware File.expand_path('../adapter', __FILE__), register_middleware File.expand_path('../adapter', __FILE__),
:test => [:Test, 'test'], :test => [:Test, 'test'],
:net_http => [:NetHttp, 'net_http'], :net_http => [:NetHttp, 'net_http'],