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