Duplicates the deflate stream.
Duplicates array_attributes
from other_spec
so state isn’t shared.
Is this specification missing its extensions? When this returns true you probably want to build_extensions
Sends a GET request to the target and returns the HTTP
response as a Net::HTTPResponse
object. The target can either be specified as (uri
), or as (host
, path
, port
= 80); so:
res = Net::HTTP.get_response(URI('http://www.example.com/index.html')) print res.body
or:
res = Net::HTTP.get_response('www.example.com', '/index.html') print res.body
Returns the X.509 certificates the server presented.
The username of the proxy server, if one is configured.
Executes a request which uses a representation and returns its body.