@@ -807,7 +807,13 @@ class HTTPUnavailableForLegalReasons < HTTPClientError
807
807
# Response class for <tt>Internal Server Error</tt> responses (status code 500).
808
808
#
809
809
# An unexpected condition was encountered and no more specific message is suitable.
810
- # See {500 Internal Server Error}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#500].
810
+ #
811
+ # References:
812
+ #
813
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500].
814
+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-500-internal-server-error].
815
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#500].
816
+ #
811
817
class HTTPInternalServerError < HTTPServerError
812
818
HAS_BODY = true
813
819
end
@@ -816,7 +822,13 @@ class HTTPInternalServerError < HTTPServerError
816
822
#
817
823
# The server either does not recognize the request method,
818
824
# or it lacks the ability to fulfil the request.
819
- # See {501 Not Implemented}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#501].
825
+ #
826
+ # References:
827
+ #
828
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501].
829
+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-501-not-implemented].
830
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#501].
831
+ #
820
832
class HTTPNotImplemented < HTTPServerError
821
833
HAS_BODY = true
822
834
end
@@ -825,7 +837,13 @@ class HTTPNotImplemented < HTTPServerError
825
837
#
826
838
# The server was acting as a gateway or proxy
827
839
# and received an invalid response from the upstream server.
828
- # See {502 Bad Gateway}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#502].
840
+ #
841
+ # References:
842
+ #
843
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502].
844
+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-502-bad-gateway].
845
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#502].
846
+ #
829
847
class HTTPBadGateway < HTTPServerError
830
848
HAS_BODY = true
831
849
end
@@ -834,7 +852,13 @@ class HTTPBadGateway < HTTPServerError
834
852
#
835
853
# The server cannot handle the request
836
854
# (because it is overloaded or down for maintenance).
837
- # See {503 Service Unavailable}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#503].
855
+ #
856
+ # References:
857
+ #
858
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503].
859
+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-503-service-unavailable].
860
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#503].
861
+ #
838
862
class HTTPServiceUnavailable < HTTPServerError
839
863
HAS_BODY = true
840
864
end
@@ -843,7 +867,13 @@ class HTTPServiceUnavailable < HTTPServerError
843
867
#
844
868
# The server was acting as a gateway or proxy
845
869
# and did not receive a timely response from the upstream server.
846
- # See {504 Gateway Timeout}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#504].
870
+ #
871
+ # References:
872
+ #
873
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504].
874
+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-504-gateway-timeout].
875
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#504].
876
+ #
847
877
class HTTPGatewayTimeout < HTTPServerError
848
878
HAS_BODY = true
849
879
end
@@ -852,31 +882,52 @@ class HTTPGatewayTimeout < HTTPServerError
852
882
# Response class for <tt>HTTP Version Not Supported</tt> responses (status code 505).
853
883
#
854
884
# The server does not support the HTTP version used in the request.
855
- # See {505 HTTP Version Not Supported}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#505].
885
+ #
886
+ # References:
887
+ #
888
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505].
889
+ # - {RFC 9110}[https://www.rfc-editor.org/rfc/rfc9110.html#name-505-http-version-not-suppor].
890
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#505].
891
+ #
856
892
class HTTPVersionNotSupported < HTTPServerError
857
893
HAS_BODY = true
858
894
end
859
895
860
896
# Response class for <tt>Variant Also Negotiates</tt> responses (status code 506).
861
897
#
862
898
# Transparent content negotiation for the request results in a circular reference.
863
- # See {506 Variant Also Negotiates}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#506].
899
+ #
900
+ # References:
901
+ #
902
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506].
903
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#506].
904
+ #
864
905
class HTTPVariantAlsoNegotiates < HTTPServerError
865
906
HAS_BODY = true
866
907
end
867
908
868
909
# Response class for <tt>Insufficient Storage (WebDAV)</tt> responses (status code 507).
869
910
#
870
911
# The server is unable to store the representation needed to complete the request.
871
- # See {507 Insufficient Storage (WebDAV)}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#507].
912
+ #
913
+ # References:
914
+ #
915
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507].
916
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#507].
917
+ #
872
918
class HTTPInsufficientStorage < HTTPServerError
873
919
HAS_BODY = true
874
920
end
875
921
876
922
# Response class for <tt>Loop Detected (WebDAV)</tt> responses (status code 508).
877
923
#
878
924
# The server detected an infinite loop while processing the request.
879
- # See {508 Loop Detected (WebDAV)}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#508].
925
+ #
926
+ # References:
927
+ #
928
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508].
929
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#508].
930
+ #
880
931
class HTTPLoopDetected < HTTPServerError
881
932
HAS_BODY = true
882
933
end
@@ -885,15 +936,25 @@ class HTTPLoopDetected < HTTPServerError
885
936
# Response class for <tt>Not Extended</tt> responses (status code 510).
886
937
#
887
938
# Further extensions to the request are required for the server to fulfill it.
888
- # See {510 Not Extended}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#510].
939
+ #
940
+ # References:
941
+ #
942
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510].
943
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#510].
944
+ #
889
945
class HTTPNotExtended < HTTPServerError
890
946
HAS_BODY = true
891
947
end
892
948
893
949
# Response class for <tt>Network Authentication Required</tt> responses (status code 511).
894
950
#
895
951
# The client needs to authenticate to gain network access.
896
- # See {511 Network Authentication Required}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#511].
952
+ #
953
+ # References:
954
+ #
955
+ # - {Mozilla}[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511].
956
+ # - {Wikipedia}[https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#511].
957
+ #
897
958
class HTTPNetworkAuthenticationRequired < HTTPServerError
898
959
HAS_BODY = true
899
960
end
0 commit comments