class Net::HTTP::Pipeline::VersionError

Raised when an invalid version is given

Public Class Methods

new(requests, responses) click to toggle source

Creates a new VersionError with a list of requests that have not been sent to the server and a list of responses that have been retrieved from the server.

# File lib/net/http/pipeline.rb, line 77
def initialize requests, responses
  super 'HTTP/1.1 or newer required', requests, responses
end