Skip to content

Commit 3b1050f

Browse files
authored
Merge pull request #273 from BurdetteLamar/net_link_fixes
[DOC] Fix links in module Net
2 parents 1fa69ea + e95d812 commit 3b1050f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/net/http.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class HTTPHeaderSyntaxError < StandardError; end
3737
# For information about \HTTP, see:
3838
#
3939
# - {Hypertext Transfer Protocol}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol].
40-
# - {Technical overview}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Technical_overview].
40+
# - {Technology}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Technology].
4141
#
4242
# == About the Examples
4343
#
@@ -72,7 +72,7 @@ class HTTPHeaderSyntaxError < StandardError; end
7272
#
7373
# - If performance is important, consider using sessions, which lower request overhead.
7474
# This {session}[rdoc-ref:Net::HTTP@Sessions] has multiple requests for
75-
# {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]
75+
# {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Method]
7676
# and {WebDAV methods}[https://en.wikipedia.org/wiki/WebDAV#Implementation]:
7777
#
7878
# Net::HTTP.start(hostname) do |http|
@@ -198,7 +198,7 @@ class HTTPHeaderSyntaxError < StandardError; end
198198
# In the block, you can use these instance methods,
199199
# each of which that sends a single request:
200200
#
201-
# - {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods]:
201+
# - {HTTP methods}[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Method]:
202202
#
203203
# - #get, #request_get: GET.
204204
# - #head, #request_head: HEAD.
@@ -447,7 +447,7 @@ class HTTPHeaderSyntaxError < StandardError; end
447447
# if the response has header <tt>'Content-Range'</tt>.
448448
#
449449
# Otherwise decompression (or not) depends on the value of header
450-
# {Content-Encoding}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#content-encoding-response-header]:
450+
# {Content-Encoding}[https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Content-Encoding_2]:
451451
#
452452
# - <tt>'deflate'</tt>, <tt>'gzip'</tt>, or <tt>'x-gzip'</tt>:
453453
# decompresses the body and deletes the header.

0 commit comments

Comments
 (0)