Raised when unexpected case is happen.
Class for representing WebDAV method LOCK:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Net::HTTP::Lock.new(uri) # => #<Net::HTTP::Lock LOCK> res = Net::HTTP.start(hostname) do |http| http.request(req) end
Related:
Net::HTTP#lock
: sends LOCK
request, returns response object.
Class for representing WebDAV method UNLOCK:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Net::HTTP::Unlock.new(uri) # => #<Net::HTTP::Unlock UNLOCK> res = Net::HTTP.start(hostname) do |http| http.request(req) end
Related:
Net::HTTP#unlock
: sends UNLOCK
request, returns response object.
Indicates that the DNS
response was unable to be decoded.
Indicates that the DNS
request was unable to be encoded.
Raised when you haven’t provided enough input to your MockGemUi
Raised when a tar file is corrupt
A FetchError
exception wraps up the various possible IO
and HTTP failures that could happen while downloading from the internet.
A FetchError
that indicates that the reason for not being able to fetch data was that the host could not be contacted
Parses a gem.deps.rb.lock file and constructs a LockSet containing the dependencies found inside. If the lock file is missing no LockSet is constructed.
Raised when a bad requirement is encountered