@@ -46,7 +46,7 @@ class HTTPHeaderSyntaxError < StandardError; end
4646 # == Strategies
4747 #
4848 # - If you will make only a few GET requests,
49- # consider using {OpenURI}[rdoc-ref: OpenURI].
49+ # consider using {OpenURI}[https://docs.ruby-lang.org/en/master/ OpenURI.html ].
5050 # - If you will make only a few requests of all kinds,
5151 # consider using the various singleton convenience methods in this class.
5252 # Each of the following methods automatically starts and finishes
@@ -108,7 +108,7 @@ class HTTPHeaderSyntaxError < StandardError; end
108108 # It consists of some or all of: scheme, hostname, path, query, and fragment;
109109 # see {URI syntax}[https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Syntax].
110110 #
111- # A Ruby {Gem::URI::Generic}[rdoc-ref: Gem:: URI:: Generic] object
111+ # A Ruby {Gem::URI::Generic}[https://docs.ruby-lang.org/en/master/ Gem/ URI/ Generic.html ] object
112112 # represents an internet URI.
113113 # It provides, among others, methods
114114 # +scheme+, +hostname+, +path+, +query+, and +fragment+.
@@ -460,7 +460,7 @@ class HTTPHeaderSyntaxError < StandardError; end
460460 #
461461 # First, what's elsewhere. Class Gem::Net::HTTP:
462462 #
463- # - Inherits from {class Object}[rdoc-ref: Object@ What-27s+Here].
463+ # - Inherits from {class Object}[https://docs.ruby-lang.org/en/master/ Object.html#class-Object-label- What-27s+Here].
464464 #
465465 # This is a categorized summary of methods and attributes.
466466 #
@@ -475,8 +475,7 @@ class HTTPHeaderSyntaxError < StandardError; end
475475 #
476476 # - {::start}[rdoc-ref:Gem::Net::HTTP.start]:
477477 # Begins a new session in a new \Gem::Net::HTTP object.
478- # - {#started?}[rdoc-ref:Gem::Net::HTTP#started?]
479- # (aliased as {#active?}[rdoc-ref:Gem::Net::HTTP#active?]):
478+ # - {#started?}[rdoc-ref:Gem::Net::HTTP#started?]:
480479 # Returns whether in a session.
481480 # - {#finish}[rdoc-ref:Gem::Net::HTTP#finish]:
482481 # Ends an active session.
@@ -556,18 +555,15 @@ class HTTPHeaderSyntaxError < StandardError; end
556555 # Sends a PUT request and returns a response object.
557556 # - {#request}[rdoc-ref:Gem::Net::HTTP#request]:
558557 # Sends a request and returns a response object.
559- # - {#request_get}[rdoc-ref:Gem::Net::HTTP#request_get]
560- # (aliased as {#get2}[rdoc-ref:Gem::Net::HTTP#get2]):
558+ # - {#request_get}[rdoc-ref:Gem::Net::HTTP#request_get]:
561559 # Sends a GET request and forms a response object;
562560 # if a block given, calls the block with the object,
563561 # otherwise returns the object.
564- # - {#request_head}[rdoc-ref:Gem::Net::HTTP#request_head]
565- # (aliased as {#head2}[rdoc-ref:Gem::Net::HTTP#head2]):
562+ # - {#request_head}[rdoc-ref:Gem::Net::HTTP#request_head]:
566563 # Sends a HEAD request and forms a response object;
567564 # if a block given, calls the block with the object,
568565 # otherwise returns the object.
569- # - {#request_post}[rdoc-ref:Gem::Net::HTTP#request_post]
570- # (aliased as {#post2}[rdoc-ref:Gem::Net::HTTP#post2]):
566+ # - {#request_post}[rdoc-ref:Gem::Net::HTTP#request_post]:
571567 # Sends a POST request and forms a response object;
572568 # if a block given, calls the block with the object,
573569 # otherwise returns the object.
@@ -605,8 +601,7 @@ class HTTPHeaderSyntaxError < StandardError; end
605601 # Returns whether +self+ is a proxy class.
606602 # - {#proxy?}[rdoc-ref:Gem::Net::HTTP#proxy?]:
607603 # Returns whether +self+ has a proxy.
608- # - {#proxy_address}[rdoc-ref:Gem::Net::HTTP#proxy_address]
609- # (aliased as {#proxyaddr}[rdoc-ref:Gem::Net::HTTP#proxyaddr]):
604+ # - {#proxy_address}[rdoc-ref:Gem::Net::HTTP#proxy_address]:
610605 # Returns the proxy address.
611606 # - {#proxy_from_env?}[rdoc-ref:Gem::Net::HTTP#proxy_from_env?]:
612607 # Returns whether the proxy is taken from an environment variable.
@@ -718,8 +713,7 @@ class HTTPHeaderSyntaxError < StandardError; end
718713 # === \HTTP Version
719714 #
720715 # - {::version_1_2?}[rdoc-ref:Gem::Net::HTTP.version_1_2?]
721- # (aliased as {::is_version_1_2?}[rdoc-ref:Gem::Net::HTTP.is_version_1_2?]
722- # and {::version_1_2}[rdoc-ref:Gem::Net::HTTP.version_1_2]):
716+ # (aliased as {::version_1_2}[rdoc-ref:Gem::Net::HTTP.version_1_2]):
723717 # Returns true; retained for compatibility.
724718 #
725719 # === Debugging
@@ -1293,7 +1287,7 @@ def set_debug_output(output)
12931287 # - The name of an encoding.
12941288 # - An alias for an encoding name.
12951289 #
1296- # See {Encoding}[rdoc-ref: Encoding].
1290+ # See {Encoding}[https://docs.ruby-lang.org/en/master/ Encoding.html ].
12971291 #
12981292 # Examples:
12991293 #
@@ -1552,11 +1546,11 @@ def use_ssl=(flag)
15521546 attr_accessor :cert_store
15531547
15541548 # Sets or returns the available SSL ciphers.
1555- # See {OpenSSL::SSL::SSLContext#ciphers=}[rdoc-ref: OpenSSL::SSL::SSLContext #ciphers-3D ].
1549+ # See {OpenSSL::SSL::SSLContext#ciphers=}[OpenSSL::SSL::SSL::Context #ciphers= ].
15561550 attr_accessor :ciphers
15571551
15581552 # Sets or returns the extra X509 certificates to be added to the certificate chain.
1559- # See {OpenSSL::SSL::SSLContext#add_certificate}[rdoc-ref: OpenSSL::SSL::SSLContext #add_certificate].
1553+ # See {OpenSSL::SSL::SSLContext#add_certificate}[OpenSSL::SSL::SSL::Context #add_certificate].
15601554 attr_accessor :extra_chain_cert
15611555
15621556 # Sets or returns the OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
@@ -1566,15 +1560,15 @@ def use_ssl=(flag)
15661560 attr_accessor :ssl_timeout
15671561
15681562 # Sets or returns the SSL version.
1569- # See {OpenSSL::SSL::SSLContext#ssl_version=}[rdoc-ref: OpenSSL::SSL::SSLContext #ssl_version-3D ].
1563+ # See {OpenSSL::SSL::SSLContext#ssl_version=}[OpenSSL::SSL::SSL::Context #ssl_version= ].
15701564 attr_accessor :ssl_version
15711565
15721566 # Sets or returns the minimum SSL version.
1573- # See {OpenSSL::SSL::SSLContext#min_version=}[rdoc-ref: OpenSSL::SSL::SSLContext #min_version-3D ].
1567+ # See {OpenSSL::SSL::SSLContext#min_version=}[OpenSSL::SSL::SSL::Context #min_version= ].
15741568 attr_accessor :min_version
15751569
15761570 # Sets or returns the maximum SSL version.
1577- # See {OpenSSL::SSL::SSLContext#max_version=}[rdoc-ref: OpenSSL::SSL::SSLContext #max_version-3D ].
1571+ # See {OpenSSL::SSL::SSLContext#max_version=}[OpenSSL::SSL::SSL::Context #max_version= ].
15781572 attr_accessor :max_version
15791573
15801574 # Sets or returns the callback for the server certification verification.
@@ -1590,7 +1584,7 @@ def use_ssl=(flag)
15901584
15911585 # Sets or returns whether to verify that the server certificate is valid
15921586 # for the hostname.
1593- # See {OpenSSL::SSL::SSLContext#verify_hostname=}[rdoc-ref: OpenSSL::SSL::SSLContext#attribute-i-verify_mode ].
1587+ # See {OpenSSL::SSL::SSLContext#verify_hostname=}[OpenSSL::SSL::SSL::Context#verify_hostname= ].
15941588 attr_accessor :verify_hostname
15951589
15961590 # Returns the X509 certificate chain (an array of strings)
0 commit comments