D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
ruby
/
net
/
http
/
Filename :
request.rb
back
Copy
# 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
Name
Size
Last Modified
Owner
Permissions
Actions
backward.rb
0.595
KB
April 05 2021 11:46:35
root
0644
exceptions.rb
0.724
KB
April 05 2021 11:46:35
root
0644
generic_request.rb
9.364
KB
April 05 2021 11:46:35
root
0644
header.rb
15.609
KB
April 05 2021 11:46:35
root
0644
proxy_delta.rb
0.266
KB
April 05 2021 11:46:35
root
0644
request.rb
0.729
KB
April 05 2021 11:46:35
root
0644
requests.rb
2.911
KB
April 05 2021 11:46:35
root
0644
response.rb
10.154
KB
April 05 2021 11:46:35
root
0644
responses.rb
9.431
KB
April 05 2021 11:46:35
root
0644
status.rb
2.178
KB
April 05 2021 11:46:35
root
0644
2017 © D7net | D704T team