class Net::HTTPRequest
PATCH: Net::HTTPRequest
to allow empty path, so it can be used as ‘webservice’ request in ‘send_webservice_request’. Also, in order to instantiate them without a specific http method, we added default constants for METHOD
etc. ORIGINAL FROM: Ruby 3.1.0, ‘lib/net/http/request.rb’
Constants
- METHOD
PATCHED: ADDED CONSTANTS ###
- REQUEST_HAS_BODY
- RESPONSE_HAS_BODY
Public Class Methods
new(path = nil, initheader = nil)
click to toggle source
Calls superclass method
# File lax/__internal__/patches/patch-net-http.rb, line 92 def initialize(path = nil, initheader = nil) super self.class::METHOD, self.class::REQUEST_HAS_BODY, self.class::RESPONSE_HAS_BODY, path, initheader end