lib/async/http/protocol/http1/connection.rb in async-http-0.38.3 vs lib/async/http/protocol/http1/connection.rb in async-http-0.39.0

- old
+ new

@@ -16,11 +16,11 @@ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -require 'http/protocol/http1/connection' +require 'protocol/http1' require_relative 'request' require_relative 'response' require_relative '../../body/chunked' @@ -28,10 +28,10 @@ module Async module HTTP module Protocol module HTTP1 - class Connection < ::HTTP::Protocol::HTTP1::Connection + class Connection < ::Protocol::HTTP1::Connection def initialize(stream, version) super(stream) @version = version end