@@ -12,7 +12,11 @@ class HTTPUnknownResponse < HTTPResponse
1212 # Parent class for informational (1xx) HTTP response classes.
1313 #
1414 # An informational response indicates that the request was received and understood.
15- # See {Informational Response}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#1xx_informational_response].
15+ #
16+ # References:
17+ #
18+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#status.1xx].
19+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#1xx_informational_response].
1620 #
1721 class HTTPInformation < HTTPResponse
1822 HAS_BODY = false
@@ -23,7 +27,12 @@ class HTTPInformation < HTTPResponse
2327 #
2428 # A success response indicates the action requested by the client
2529 # was received, understood, and accepted.
26- # See {Success Response}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_success].
30+ #
31+ # References:
32+ #
33+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#status.2xx].
34+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_success].
35+ #
2736 class HTTPSuccess < HTTPResponse
2837 HAS_BODY = true
2938 EXCEPTION_TYPE = HTTPError #
@@ -33,7 +42,12 @@ class HTTPSuccess < HTTPResponse
3342 #
3443 # A redirection response indicates the client must take additional action
3544 # to complete the request.
36- # See {Redirection Response}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_redirection].
45+ #
46+ # References:
47+ #
48+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#status.3xx].
49+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_redirection].
50+ #
3751 class HTTPRedirection < HTTPResponse
3852 HAS_BODY = true
3953 EXCEPTION_TYPE = HTTPRetriableError #
@@ -42,7 +56,12 @@ class HTTPRedirection < HTTPResponse
4256 # Parent class for client error (4xx) HTTP response classes.
4357 #
4458 # A client error response indicates that the client may have caused an error.
45- # See {Client Error Response}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_client_errors].
59+ #
60+ # References:
61+ #
62+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#status.4xx].
63+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_client_errors].
64+ #
4665 class HTTPClientError < HTTPResponse
4766 HAS_BODY = true
4867 EXCEPTION_TYPE = HTTPClientException #
@@ -51,16 +70,27 @@ class HTTPClientError < HTTPResponse
5170 # Parent class for server error (5xx) HTTP response classes.
5271 #
5372 # A server error response indicates that the server failed to fulfill a request.
54- # See {Server Error Response}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_server_errors].
73+ #
74+ # References:
75+ #
76+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#status.5xx].
77+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_server_errors].
78+ #
5579 class HTTPServerError < HTTPResponse
5680 HAS_BODY = true
5781 EXCEPTION_TYPE = HTTPFatalError #
5882 end
5983
6084 # Response class for +Continue+ responses (status code 100).
6185 #
62- # A +Continue+ response indicates that the server has received the request headers
63- # See {100 Continue}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#100].
86+ # A +Continue+ response indicates that the server has received the request headers.
87+ #
88+ # References:
89+ #
90+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100].
91+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-100-continue].
92+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#100].
93+ #
6494 class HTTPContinue < HTTPInformation
6595 HAS_BODY = false
6696 end
@@ -69,7 +99,13 @@ class HTTPContinue < HTTPInformation
6999 #
70100 # The <tt>Switching Protocol<tt> response indicates that the server has received
71101 # a request to switch protocols, and has agreed to do so.
72- # See {101 Switching Protocols}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#101].
102+ #
103+ # References:
104+ #
105+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101].
106+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-101-switching-protocols].
107+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#101].
108+ #
73109 class HTTPSwitchProtocol < HTTPInformation
74110 HAS_BODY = false
75111 end
@@ -78,7 +114,11 @@ class HTTPSwitchProtocol < HTTPInformation
78114 #
79115 # The +Processing+ response indicates that the server has received
80116 # and is processing the request, but no response is available yet.
81- # See {102 Processing}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#102].
117+ #
118+ # References:
119+ #
120+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#102].
121+ #
82122 class HTTPProcessing < HTTPInformation
83123 HAS_BODY = false
84124 end
@@ -88,7 +128,12 @@ class HTTPProcessing < HTTPInformation
88128 # The <tt>Early Hints</tt> indicates that the server has received
89129 # and is processing the request, and contains certain headers;
90130 # the final response is not available yet.
91- # See {103 Early Hints}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#103].
131+ #
132+ # References:
133+ #
134+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103].
135+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#103].
136+ #
92137 class HTTPEarlyHints < HTTPInformation
93138 HAS_BODY = false
94139 end
0 commit comments