Exception: Net::HTTP::Pipeline::VersionError
- Defined in:
- lib/net/http/pipeline.rb
Overview
Raised when an invalid version is given
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(requests, responses) ⇒ VersionError
constructor
Creates a new VersionError with a list of
requeststhat have not been sent to the server and a list ofresponsesthat have been retrieved from the server.
Constructor Details
#initialize(requests, responses) ⇒ VersionError
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.
77 78 79 |
# File 'lib/net/http/pipeline.rb', line 77 def initialize requests, responses super 'HTTP/1.1 or newer required', requests, responses end |