/opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/net/http
NameSizeModeActions
backward.rb6090644editdlrm
exceptions.rb8730644editdlrm
generic_request.rb97380644editdlrm
header.rb165680644editdlrm
proxy_delta.rb2720644editdlrm
request.rb7460644editdlrm
requests.rb29810644editdlrm
response.rb108200644editdlrm
responses.rb100400644editdlrm
status.rb22420644editdlrm
Edit: /opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/net/http/request.rb (746B)
# frozen_string_literal: false # HTTP request class. # This class wraps together the request header and the request path. # You cannot use this class directly. Instead, you should use one of its # subclasses: Net::HTTP::Get, Net::HTTP::Post, Net::HTTP::Head. # class Net::HTTPRequest < Net::HTTPGenericRequest # Creates an HTTP request object for +path+. # # +initheader+ are the default headers to use. Net::HTTP adds # Accept-Encoding to enable compression of the response body unless # Accept-Encoding or Range are supplied in +initheader+. def initialize(path, initheader = nil) super self.class::METHOD, self.class::REQUEST_HAS_BODY, self.class::RESPONSE_HAS_BODY, path, initheader end end