X7ROOT File Manager
Current Path:
/opt/alt/ruby31/share/ruby/net/http
opt
/
alt
/
ruby31
/
share
/
ruby
/
net
/
http
/
ðŸ“
..
📄
backward.rb
(1.05 KB)
📄
exceptions.rb
(838 B)
📄
generic_request.rb
(9.42 KB)
📄
header.rb
(16.73 KB)
📄
proxy_delta.rb
(272 B)
📄
request.rb
(746 B)
📄
requests.rb
(2.91 KB)
📄
response.rb
(15.04 KB)
📄
responses.rb
(9.52 KB)
📄
status.rb
(2.19 KB)
Editing: exceptions.rb
# frozen_string_literal: false module Net # Net::HTTP exception class. # You cannot use Net::HTTPExceptions directly; instead, you must use # its subclasses. module HTTPExceptions def initialize(msg, res) #:nodoc: super msg @response = res end attr_reader :response alias data response #:nodoc: obsolete end class HTTPError < ProtocolError include HTTPExceptions end class HTTPRetriableError < ProtoRetriableError include HTTPExceptions end class HTTPClientException < ProtoServerError include HTTPExceptions end class HTTPFatalError < ProtoFatalError include HTTPExceptions end # We cannot use the name "HTTPServerError", it is the name of the response. HTTPServerException = HTTPClientException # :nodoc: deprecate_constant(:HTTPServerException) end
Upload File
Create Folder