From e4b2b38af5510734d6c15c9fe5a2b2720836c10a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 22 Sep 2022 13:58:51 +0200 Subject: [PATCH] Fix: Update links to RFCs --- CHANGELOG.md | 5 +++ src/RFC/PEP.php | 4 +- src/RFC/RFC2295.php | 2 +- src/RFC/RFC2324.php | 2 +- src/RFC/RFC2326.php | 24 ++++++------ src/RFC/RFC2518.php | 2 +- src/RFC/RFC2616.php | 80 +++++++++++++++++++-------------------- src/RFC/RFC2774.php | 2 +- src/RFC/RFC2817.php | 2 +- src/RFC/RFC3229.php | 2 +- src/RFC/RFC3648.php | 2 +- src/RFC/RFC4918.php | 12 +++--- src/RFC/RFC5842.php | 4 +- src/RFC/RFC6585.php | 8 ++-- src/RFC/RFC7168.php | 6 +-- src/RFC/RFC7231.php | 74 ++++++++++++++++++------------------ src/RFC/RFC7232.php | 4 +- src/RFC/RFC7233.php | 4 +- src/RFC/RFC7234.php | 14 +++---- src/RFC/RFC7235.php | 4 +- src/RFC/RFC7538.php | 2 +- src/RFC/RFC7540.php | 2 +- src/RFC/RFC7725.php | 2 +- src/Vendor/CloudFlare.php | 10 ++--- src/Vendor/Microsoft.php | 2 +- 25 files changed, 140 insertions(+), 135 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd9bbb4..f8c6dd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ For a full diff see [`v1.1.2...main`][v1.1.2...main]. - Added `CHANGELOG.md` ([#25]), by [@localheinz] +### Fixed + +- Updated links to RFCs ([#24]), by [@localheinz] + ## [`v1.1.2`][v1.1.2] For a full diff see [`v1.1.1...v1.1.2`][v1.1.1...v1.1.2]. @@ -52,5 +56,6 @@ For a full diff see [`1091250...v1.0.0`][1091250...v1.0.0]. [v1.1.2...main]: https://github.com/teapot-php/status-code/compare/v1.1.2...main [#24]: https://github.com/teapot-php/status-code/pull/24 +[#25]: https://github.com/teapot-php/status-code/pull/25 [@localheinz]: https://github.com/localheinz diff --git a/src/RFC/PEP.php b/src/RFC/PEP.php index bd222ff..fd6fbfe 100644 --- a/src/RFC/PEP.php +++ b/src/RFC/PEP.php @@ -66,7 +66,7 @@ interface PEP extends ExpiredStatus, IETFStream * Implementers may note the similarity to the way authentication * challenges are issued with the 401 (Unauthorized) status-code. * - * @link http://www.w3.org/TR/WD-http-pep-971121.html#_Toc404743960 + * @link https://www.w3.org/TR/WD-http-pep-971121.html#_Toc404743960 * @deprecated * @var int */ @@ -79,7 +79,7 @@ interface PEP extends ExpiredStatus, IETFStream * believes that it can find a unique set of header fields for which the * transaction will succeed. * - * @link http://www.w3.org/TR/WD-http-pep-971121.html#_Toc404743961 + * @link https://www.w3.org/TR/WD-http-pep-971121.html#_Toc404743961 * @deprecated * @var int */ diff --git a/src/RFC/RFC2295.php b/src/RFC/RFC2295.php index 35eeae5..ea349d2 100644 --- a/src/RFC/RFC2295.php +++ b/src/RFC/RFC2295.php @@ -50,7 +50,7 @@ interface RFC2295 extends ExperimentalStatus, IETFStream * Transparent content negotiation for the request results in a circular * reference. * - * @link http://tools.ietf.org/search/rfc2295#section-8.1 + * @link https://datatracker.ietf.org/doc/html/rfc2295#section-8.1 * * @var int */ diff --git a/src/RFC/RFC2324.php b/src/RFC/RFC2324.php index f49cd47..c104db7 100644 --- a/src/RFC/RFC2324.php +++ b/src/RFC/RFC2324.php @@ -50,7 +50,7 @@ interface RFC2324 extends InformationalStatus, LegacyStream * The HTCPCP server is a teapot; the resulting entity may be short and * stout. Demonstrations of this behaviour exist. * - * @link http://www.ietf.org/rfc/rfc2324.txt + * @link https://datatracker.ietf.org/doc/html/rfc2324#section-2.3.2 * * @var int */ diff --git a/src/RFC/RFC2326.php b/src/RFC/RFC2326.php index 0f98809..4922131 100644 --- a/src/RFC/RFC2326.php +++ b/src/RFC/RFC2326.php @@ -52,7 +52,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * The recipient of the request does not support one or more parameters * contained in the request. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.2 * * @var int */ @@ -62,7 +62,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * The conference indicated by a Conference header field is unknown to the * media server. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.3 * * @var int */ @@ -72,7 +72,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * The request was refused because there was insufficient bandwidth. * This may, for example, be the result of a resource reservation failure. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.4 * * @var int */ @@ -82,7 +82,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * The RTSP session identifier in the Session header is missing, invalid, * or has timed out. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.5 * * @var int */ @@ -93,7 +93,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * The response SHOULD contain an Allow header to make error recovery * easier. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.6 * * @var int */ @@ -104,7 +104,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * PLAY contains the Range header field but the stream does not allow * seeking. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.7 * * @var int */ @@ -114,7 +114,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * The Range value given is out of bounds, e.g., beyond the end of the * presentation. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.8 * * @var int */ @@ -123,7 +123,7 @@ interface RFC2326 extends ProposedStandard, IETFStream /** * The parameter to be set by SET_PARAMETER can be read but not modified. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.9 * * @var int */ @@ -134,7 +134,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * is an aggregate (presentation) URL. The method may be applied on a * stream URL. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.10 * * @var int */ @@ -145,7 +145,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * is not an aggregate (presentation) URL. The method may be applied on the * presentation URL. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.11 * * @var int */ @@ -155,7 +155,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * The Transport field did not contain a supported transport * specification. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.12 * * @var int */ @@ -167,7 +167,7 @@ interface RFC2326 extends ProposedStandard, IETFStream * be the result of a client attempt to place an invalid Destination * parameter in the Transport field. * - * @link http://www.ietf.org/rfc/rfc2326.txt + * @link https://datatracker.ietf.org/doc/html/rfc2326#section-11.3.13 * * @var int */ diff --git a/src/RFC/RFC2518.php b/src/RFC/RFC2518.php index 76fa198..25d721a 100644 --- a/src/RFC/RFC2518.php +++ b/src/RFC/RFC2518.php @@ -50,7 +50,7 @@ interface RFC2518 extends ProposedStandard, IETFStream * This code indicates that the server has received and is processing the * request, but no response is available yet. * - * @link http://www.ietf.org/rfc/rfc2518.txt + * @link https://datatracker.ietf.org/doc/html/rfc2518#section-10.1 * * @var int */ diff --git a/src/RFC/RFC2616.php b/src/RFC/RFC2616.php index 1599753..5ed9b19 100644 --- a/src/RFC/RFC2616.php +++ b/src/RFC/RFC2616.php @@ -58,7 +58,7 @@ interface RFC2616 extends DraftStandard, IETFStream * is received in response before continuing (or receive * 417 Expectation Failed and not continue). * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.1.1 * * @var int */ @@ -74,7 +74,7 @@ interface RFC2616 extends DraftStandard, IETFStream * no response is available yet.[3] This prevents the client from timing out * and assuming the request was lost. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.1.2 * * @var int */ @@ -91,7 +91,7 @@ interface RFC2616 extends DraftStandard, IETFStream * TRACE an entity containing the request message as received by the end * server. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.1 * * @var int */ @@ -110,7 +110,7 @@ interface RFC2616 extends DraftStandard, IETFStream * action cannot be carried out immediately, the server SHOULD respond with * 202 (Accepted) response instead. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.2 * * @var int */ @@ -132,7 +132,7 @@ interface RFC2616 extends DraftStandard, IETFStream * pointer to a status monitor or some estimate of when the user can expect * the request to be fulfilled. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.3 * * @var int */ @@ -147,7 +147,7 @@ interface RFC2616 extends DraftStandard, IETFStream * known by the origin server. Use of this response code is not required * and is only appropriate when the response would otherwise be 200 (OK). * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.4 * * @var int */ @@ -181,7 +181,7 @@ interface RFC2616 extends DraftStandard, IETFStream * The 204 response MUST NOT include a message-body, and thus is always * terminated by the first empty line after the header fields. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.5 * * @var int */ @@ -195,7 +195,7 @@ interface RFC2616 extends DraftStandard, IETFStream * so that the user can easily initiate another input action. The response * MUST NOT include an entity. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.6 * * @var int */ @@ -235,7 +235,7 @@ interface RFC2616 extends DraftStandard, IETFStream * A cache that does not support the Range and Content-Range headers * MUST NOT cache 206 (Partial) responses. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.7 * * @var int */ @@ -260,7 +260,7 @@ interface RFC2616 extends DraftStandard, IETFStream * field value for automatic redirection. This response is cacheable * unless indicated otherwise. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.3.1 * * @var int */ @@ -286,7 +286,7 @@ interface RFC2616 extends DraftStandard, IETFStream * receiving a 301 status code, some existing HTTP/1.0 user agents * will erroneously change it into a GET request. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.3.2 * * @var int */ @@ -314,7 +314,7 @@ interface RFC2616 extends DraftStandard, IETFStream * been added for servers that wish to make unambiguously clear which * kind of reaction is expected of the client. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.3.3 * * @var int */ @@ -337,7 +337,7 @@ interface RFC2616 extends DraftStandard, IETFStream * 302 status code may be used instead, since most user agents react * to a 302 response as described here for 303. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.3.4 * * @var int */ @@ -373,7 +373,7 @@ interface RFC2616 extends DraftStandard, IETFStream * cache MUST update the entry to reflect any new field values given in the * response. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.3.5 * * @var int */ @@ -389,7 +389,7 @@ interface RFC2616 extends DraftStandard, IETFStream * Not observing these limitations has significant security * consequences. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.3.6 * * @var int */ @@ -411,7 +411,7 @@ interface RFC2616 extends DraftStandard, IETFStream * request unless it can be confirmed by the user, since this might change * the conditions under which the request was issued. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.3.7 * * @var int */ @@ -421,7 +421,7 @@ interface RFC2616 extends DraftStandard, IETFStream * The request could not be understood by the server due to malformed * syntax. The client SHOULD NOT repeat the request without modifications. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.1 * * @var int */ @@ -441,7 +441,7 @@ interface RFC2616 extends DraftStandard, IETFStream * diagnostic information. HTTP access authentication is explained in * "HTTP Authentication: Basic and Digest Access Authentication" [43]. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.2 * * @var int */ @@ -450,7 +450,7 @@ interface RFC2616 extends DraftStandard, IETFStream /** * This code is reserved for future use. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.3 * * @var int */ @@ -465,7 +465,7 @@ interface RFC2616 extends DraftStandard, IETFStream * information available to the client, the status code 404 (Not Found) * can be used instead. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.4 * * @var int */ @@ -481,7 +481,7 @@ interface RFC2616 extends DraftStandard, IETFStream * reveal exactly why the request has been refused, or when no other * response is applicable. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.5 * * @var int */ @@ -492,7 +492,7 @@ interface RFC2616 extends DraftStandard, IETFStream * identified by the Request-URI. The response MUST include an Allow header * containing a list of valid methods for the requested resource. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.6 * * @var int */ @@ -521,7 +521,7 @@ interface RFC2616 extends DraftStandard, IETFStream * stop receipt of more data and query the user for a decision on further * actions. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.7 * * @var int */ @@ -536,7 +536,7 @@ interface RFC2616 extends DraftStandard, IETFStream * header field (section 14.34). HTTP access authentication is explained * in "HTTP Authentication: Basic and Digest Access Authentication" [43]. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.8 * * @var int */ @@ -547,7 +547,7 @@ interface RFC2616 extends DraftStandard, IETFStream * was prepared to wait. The client MAY repeat the request without * modifications at any later time. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.9 * * @var int */ @@ -571,7 +571,7 @@ interface RFC2616 extends DraftStandard, IETFStream * differences between the two versions in a format defined by the * response Content-Type. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.10 * * @var int */ @@ -596,7 +596,7 @@ interface RFC2616 extends DraftStandard, IETFStream * mark for any length of time -- that is left to the discretion of the * server owner. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.11 * * @var int */ @@ -608,7 +608,7 @@ interface RFC2616 extends DraftStandard, IETFStream * Content-Length header field containing the length of the message-body * in the request message. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.12 * * @var int */ @@ -621,7 +621,7 @@ interface RFC2616 extends DraftStandard, IETFStream * metainformation (header field data) and thus prevent the requested * method from being applied to a resource other than the one intended. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.13 * * @var int */ @@ -635,7 +635,7 @@ interface RFC2616 extends DraftStandard, IETFStream * header field to indicate that it is temporary and after what time the * client MAY try again. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.14 * * @var int */ @@ -652,7 +652,7 @@ interface RFC2616 extends DraftStandard, IETFStream * present in some servers using fixed-length buffers for reading or * manipulating the Request-URI. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.15 * * @var int */ @@ -663,7 +663,7 @@ interface RFC2616 extends DraftStandard, IETFStream * request is in a format not supported by the requested resource for the * requested method. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.16 * * @var int */ @@ -682,7 +682,7 @@ interface RFC2616 extends DraftStandard, IETFStream * the current length of the selected resource (see section 14.16). This * response MUST NOT use the multipart/byteranges content-type. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.17 * * @var int */ @@ -694,7 +694,7 @@ interface RFC2616 extends DraftStandard, IETFStream * the server has unambiguous evidence that the request could not be met * by the next-hop server. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.4.18 * * @var int */ @@ -704,7 +704,7 @@ interface RFC2616 extends DraftStandard, IETFStream * The server encountered an unexpected condition which prevented it from * fulfilling the request. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.5.1 * * @var int */ @@ -716,7 +716,7 @@ interface RFC2616 extends DraftStandard, IETFStream * recognize the request method and is not capable of supporting it for * any resource. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.5.2 * * @var int */ @@ -727,7 +727,7 @@ interface RFC2616 extends DraftStandard, IETFStream * response from the upstream server it accessed in attempting to fulfill * the request. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.5.3 * * @var int */ @@ -744,7 +744,7 @@ interface RFC2616 extends DraftStandard, IETFStream * server must use it when becoming overloaded. Some servers may wish to * simply refuse the connection. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.5.4 * * @var int */ @@ -758,7 +758,7 @@ interface RFC2616 extends DraftStandard, IETFStream * Note: Note to implementors: some deployed proxies are known to * return 400 or 500 when DNS lookups time out. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.5.5 * * @var int */ @@ -773,7 +773,7 @@ interface RFC2616 extends DraftStandard, IETFStream * The response SHOULD contain an entity describing why that version is * not supported and what other protocols are supported by that server. * - * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html + * @link https://datatracker.ietf.org/doc/html/rfc2616#section-10.5.6 * * @var int */ diff --git a/src/RFC/RFC2774.php b/src/RFC/RFC2774.php index 34597f5..071c5a5 100644 --- a/src/RFC/RFC2774.php +++ b/src/RFC/RFC2774.php @@ -60,7 +60,7 @@ interface RFC2774 extends ExperimentalStatus, LegacyStream * included in the 510 response to the user, since that entity may * include relevant diagnostic information. * - * @link http://tools.ietf.org/search/rfc2774#section-7 + * @link https://datatracker.ietf.org/doc/html/rfc2774#section-7 * * @var int */ diff --git a/src/RFC/RFC2817.php b/src/RFC/RFC2817.php index e4fc563..058c4c1 100644 --- a/src/RFC/RFC2817.php +++ b/src/RFC/RFC2817.php @@ -54,7 +54,7 @@ interface RFC2817 extends ProposedStandard, IETFStream * Upgrade header in any response other than 101 or 426 to indicate a * willingness to switch to any (combination) of the protocols listed. * - * @link http://tools.ietf.org/search/rfc2817#section-3.3 + * @link https://datatracker.ietf.org/doc/html/rfc2817#section-4.2 * * @var int */ diff --git a/src/RFC/RFC3229.php b/src/RFC/RFC3229.php index 7d9cc26..b72b488 100644 --- a/src/RFC/RFC3229.php +++ b/src/RFC/RFC3229.php @@ -68,7 +68,7 @@ interface RFC3229 extends ProposedStandard, LegacyStream * in conjunction with a cache entry for the base instance, to create a * cache entry for the current instance. * - * @link http://www.ietf.org/rfc/rfc3229.txt + * @link https://datatracker.ietf.org/doc/html/rfc3229#section-10.4.1 * * @var int */ diff --git a/src/RFC/RFC3648.php b/src/RFC/RFC3648.php index 9b25583..1835f3e 100644 --- a/src/RFC/RFC3648.php +++ b/src/RFC/RFC3648.php @@ -57,7 +57,7 @@ interface RFC3648 extends ProposedStandard, IETFStream * present in "Web Distributed Authoring and Versioning (WebDAV) Ordered * Collections Protocol". * - * @link https://tools.ietf.org/html/draft-ietf-webdav-collection-protocol-04#section-7.2 + * @link https://datatracker.ietf.org/doc/html/draft-ietf-webdav-collection-protocol-04#section-425 * * @var int */ diff --git a/src/RFC/RFC4918.php b/src/RFC/RFC4918.php index 8425270..9e94648 100644 --- a/src/RFC/RFC4918.php +++ b/src/RFC/RFC4918.php @@ -58,7 +58,7 @@ interface RFC4918 extends ProposedStandard, IETFStream * destination resource was locked and could not be overwritten, then the * destination resource URL appears with the 423 (Locked) status. * - * @link http://www.ietf.org/rfc/rfc4918.txt + * @link https://datatracker.ietf.org/doc/html/rfc4918/#section-11.1 * * @var int */ @@ -74,7 +74,7 @@ interface RFC4918 extends ProposedStandard, IETFStream * request body contains well-formed (i.e., syntactically correct), but * semantically erroneous, XML instructions. * - * @link http://www.ietf.org/rfc/rfc4918.txt + * @link https://datatracker.ietf.org/doc/html/rfc4918/#section-11.2 * * @var int */ @@ -86,7 +86,7 @@ interface RFC4918 extends ProposedStandard, IETFStream * precondition or post-condition code, such as 'lock-token-submitted' or * 'no-conflicting-lock'. * - * @link http://www.ietf.org/rfc/rfc4918.txt + * @link https://datatracker.ietf.org/doc/html/rfc4918/#section-11.3 * * @var int */ @@ -97,7 +97,7 @@ interface RFC4918 extends ProposedStandard, IETFStream * its scope because some part of the method's execution failed causing the * entire method to be aborted. * - * @link http://www.ietf.org/rfc/rfc4918.txt + * @link https://datatracker.ietf.org/doc/html/rfc4918/#section-11.4 * * @var int */ @@ -110,7 +110,7 @@ interface RFC4918 extends ProposedStandard, IETFStream * command in a PROPPATCH method fails then, at minimum, the rest * of the commands will also fail with 424 (Failed Dependency). * - * @link http://www.ietf.org/rfc/rfc4918.txt + * @link https://datatracker.ietf.org/doc/html/rfc4918/#section-11.4 * * @var int */ @@ -120,7 +120,7 @@ interface RFC4918 extends ProposedStandard, IETFStream * The server is unable to store the representation needed to complete the * request. * - * @link http://www.ietf.org/rfc/rfc4918.txt + * @link https://datatracker.ietf.org/doc/html/rfc4918/#section-11.5 * * @var int */ diff --git a/src/RFC/RFC5842.php b/src/RFC/RFC5842.php index efa8458..be6c210 100644 --- a/src/RFC/RFC5842.php +++ b/src/RFC/RFC5842.php @@ -58,7 +58,7 @@ interface RFC5842 extends ExperimentalStatus, IETFStream * bindings will use the 208 status, and no DAV:response elements for * their descendants are included. * - * @link http://www.ietf.org/rfc/rfc5842.txt + * @link https://datatracker.ietf.org/doc/html/rfc5842#section-7.1 * * @var int */ @@ -69,7 +69,7 @@ interface RFC5842 extends ExperimentalStatus, IETFStream * an infinite loop while processing a request with "Depth: infinity". * (sent in lieu of 208). * - * @link https://tools.ietf.org/html/draft-ietf-webdav-collection-protocol-04#section-7.1 + * @link https://datatracker.ietf.org/doc/html/rfc5842#section-7.2 * * @var int */ diff --git a/src/RFC/RFC6585.php b/src/RFC/RFC6585.php index 3402fc4..6f8fc74 100644 --- a/src/RFC/RFC6585.php +++ b/src/RFC/RFC6585.php @@ -59,7 +59,7 @@ interface RFC6585 extends ProposedStandard, IETFStream * * Responses with the 428 status code MUST NOT be stored by a cache. * - * @link http://tools.ietf.org/html/rfc6585 + * @link https://datatracker.ietf.org/doc/html/rfc6585#section-3 * * @var int */ @@ -98,7 +98,7 @@ interface RFC6585 extends ProposedStandard, IETFStream * * Responses with the 429 status code MUST NOT be stored by a cache. * - * @link http://tools.ietf.org/html/rfc6585 + * @link https://datatracker.ietf.org/doc/html/rfc6585#section-4 * * @var int */ @@ -114,7 +114,7 @@ interface RFC6585 extends ProposedStandard, IETFStream * case, the response representation SHOULD specify which header field * was too large. * - * @link http://tools.ietf.org/html/rfc6585 + * @link https://datatracker.ietf.org/doc/html/rfc6585#section-5 * * @var int */ @@ -138,7 +138,7 @@ interface RFC6585 extends ProposedStandard, IETFStream * dedicated to "logging in" unknown clients, and of course traffic to * the login server itself. * - * @link http://tools.ietf.org/html/rfc6585 + * @link https://datatracker.ietf.org/doc/html/rfc6585#section-6 * * @var int */ diff --git a/src/RFC/RFC7168.php b/src/RFC/RFC7168.php index cfb2cf2..5fdc389 100644 --- a/src/RFC/RFC7168.php +++ b/src/RFC/RFC7168.php @@ -53,7 +53,7 @@ interface RFC7168 extends InformationalStatus, IETFStream * served with a status code of 300, to indicate that brewing has not * commenced and further options must be chosen by the client. * - * @link https://www.rfc-editor.org/rfc/rfc7168.txt + * @link https://datatracker.ietf.org/doc/html/rfc7168#section-2.3.1 * @var int */ const MULTIPLE_OPTIONS = 300; @@ -69,7 +69,7 @@ interface RFC7168 extends InformationalStatus, IETFStream * viable combinations of additions for each variety to be served is * outside the scope of this document. * - * @link https://www.rfc-editor.org/rfc/rfc7168.txt + * @link https://datatracker.ietf.org/doc/html/rfc7168#section-2.3.2 * @var int */ const BREW_FORBIDDEN = 403; @@ -80,7 +80,7 @@ interface RFC7168 extends InformationalStatus, IETFStream * coffee, or a code of 418 as defined in the base HTCPCP specification * to denote a more permanent indication that the pot is a teapot. * - * @link https://www.rfc-editor.org/rfc/rfc7168.txt + * @link https://datatracker.ietf.org/doc/html/rfc7168#section-2.3.3 * @var int */ const IM_A_TEAPOT = 418; diff --git a/src/RFC/RFC7231.php b/src/RFC/RFC7231.php index d831aed..0e290c1 100644 --- a/src/RFC/RFC7231.php +++ b/src/RFC/RFC7231.php @@ -63,7 +63,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * 100-continue expectation, the client can simply discard this interim * response. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.100 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.2.1 * * @var int */ @@ -94,7 +94,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * synchronous protocol might be advantageous when delivering resources that * use such features. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.101 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.2.2 * * @var int */ @@ -128,9 +128,9 @@ interface RFC7231 extends ProposedStandard, IETFStream * * A 200 response is cacheable by default; i.e., unless otherwise indicated * by the method definition or explicit cache controls (see Section 4.2.2 of - * {@link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7234.html#heuristic.freshness RFC7234}). + * {@link https://datatracker.ietf.org/doc/html/rfc7234#section-4.2.2 RFC7234}). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.101 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.3.1 * * @var int */ @@ -148,7 +148,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * validator header fields, such as ETag and Last-Modified, in a 201 * response. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.201 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.3.2 * * @var int */ @@ -170,7 +170,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * monitor that can provide the user with an estimate of when the request * will be fulfilled. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.202 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.3.3 * * @var int */ @@ -194,7 +194,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.203 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.3.4 * * @var int */ @@ -245,7 +245,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.204 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.3.5 * * @var int */ @@ -275,7 +275,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * c) close the connection immediately after sending the blank line * terminating the header section. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.205 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.3.6 * * @var int */ @@ -321,7 +321,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * with a relationship of "alternate", though deployment is a * chicken-and-egg problem. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.300 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.4.1 * * @var int */ @@ -349,7 +349,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.301 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.4.2 * * @var int */ @@ -371,7 +371,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * from POST to GET for the subsequent request. If this behavior is * undesired, the 307 (Temporary Redirect) status code can be used instead. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.302 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.4.3 * * @var int */ @@ -407,7 +407,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * response ought to contain a short hypertext note with a hyperlink to the * same URI reference provided in the Location header field. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.303 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.4.4 * * @var int */ @@ -417,7 +417,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * The 305 (Use Proxy) status code was defined in a previous version of this * specification and is now deprecated * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.305 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.4.5 * * @var int * @deprecated @@ -428,7 +428,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * The 306 (Unused) status code was defined in a previous version of this * specification, is no longer used, and the code is reserved. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.306 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.4.6 * * @var int * @deprecated @@ -455,7 +455,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * however, defines the status code 308 (Permanent Redirect) for this * purpose). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.307 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.4.7 * * @var int */ @@ -467,7 +467,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * client error (e.g., malformed request syntax, invalid request message * framing, or deceptive request routing). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.400 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.1 * * @var int */ @@ -476,7 +476,7 @@ interface RFC7231 extends ProposedStandard, IETFStream /** * The 402 (Payment Required) status code is reserved for future use. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.402 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.2 * * @var int */ @@ -498,7 +498,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * forbidden target resource may instead respond with a status code of 404 * (Not Found). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.403 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.3 * * @var int */ @@ -517,7 +517,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.404 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.4 * * @var int */ @@ -534,7 +534,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.405 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.5 * * @var int */ @@ -554,7 +554,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * that list. However, this specification does not define any standard for * such automatic selection, as described in Section 6.4.1. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.406 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.6 * * @var int */ @@ -569,7 +569,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * the client has an outstanding request in transit, the client may repeat * that request on a new connection. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.408 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.7 * * @var int */ @@ -591,7 +591,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * response representation would likely contain information useful for * merging the differences based on the revision history. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.409 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.8 * * @var int */ @@ -617,7 +617,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.410 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.9 * * @var int */ @@ -630,7 +630,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * Content-Length header field containing the length of the message body in * the request message. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.411 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.10 * * @var int */ @@ -646,7 +646,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * header field to indicate that it is temporary and after what time the * client may try again. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.413 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.11 * * @var int */ @@ -667,7 +667,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 * of [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.414 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.12 * * @var int */ @@ -680,7 +680,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * problem might be due to the request's indicated Content-Type or * Content-Encoding, or as a result of inspecting the data directly. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.415 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.13 * * @var int */ @@ -691,7 +691,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * given in the request's Expect header field (Section 5.1.1) could not be * met by at least one of the inbound servers. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.417 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.14 * * @var int */ @@ -714,7 +714,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * * This service requires use of the HTTP/3.0 protocol. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.426 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.15 * * @var int */ @@ -725,7 +725,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * encountered an unexpected condition that prevented it from fulfilling the * request. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.500 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.6.1 * * @var int */ @@ -741,7 +741,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.501 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.6.2 * * @var int */ @@ -752,7 +752,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * as a gateway or proxy, received an invalid response from an inbound * server it accessed while attempting to fulfill the request. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.502 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.6.3 * * @var int */ @@ -770,7 +770,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * has to use it when becoming overloaded. Some servers might simply refuse * the connection. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.503 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.6.4 * * @var int */ @@ -781,7 +781,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * acting as a gateway or proxy, did not receive a timely response from an * upstream server it needed to access in order to complete the request. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.504 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.6.5 * * @var int */ @@ -797,7 +797,7 @@ interface RFC7231 extends ProposedStandard, IETFStream * 505 response that describes why that version is not supported and what * other protocols are supported by that server. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#status.505 + * @link https://datatracker.ietf.org/doc/html/rfc7231#section-6.6.6 * * @var int */ diff --git a/src/RFC/RFC7232.php b/src/RFC/RFC7232.php index fad9e12..1e9c7f4 100644 --- a/src/RFC/RFC7232.php +++ b/src/RFC/RFC7232.php @@ -78,7 +78,7 @@ interface RFC7232 extends ProposedStandard, IETFStream * A 304 response cannot contain a message-body; it is always terminated by * the first empty line after the header fields. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7232.html#status.304 + * @link https://datatracker.ietf.org/doc/html/rfc7232#section-4.1 * * @var int */ @@ -92,7 +92,7 @@ interface RFC7232 extends ProposedStandard, IETFStream * and metadata) and, thus, prevent the request method from being applied if * the target resource is in an unexpected state. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7232.html#status.412 + * @link https://datatracker.ietf.org/doc/html/rfc7232#section-4.2 * * @var int */ diff --git a/src/RFC/RFC7233.php b/src/RFC/RFC7233.php index bb2b458..8babff7 100644 --- a/src/RFC/RFC7233.php +++ b/src/RFC/RFC7233.php @@ -140,7 +140,7 @@ interface RFC7233 extends ProposedStandard, IETFStream * A 206 response is cacheable by default; i.e., unless otherwise indicated * by explicit cache controls (see Section 4.2.2 of [RFC7234]). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7233.html#status.206 + * @link https://datatracker.ietf.org/doc/html/rfc7233#section-4.1 * * @var int */ @@ -169,7 +169,7 @@ interface RFC7233 extends ProposedStandard, IETFStream * receiving a 416 (Range Not Satisfiable) response even when it is most * appropriate. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7233.html#status.416 + * @link https://datatracker.ietf.org/doc/html/rfc7233#section-4.4 * * @var int */ diff --git a/src/RFC/RFC7234.php b/src/RFC/RFC7234.php index 28b7385..962c1e7 100644 --- a/src/RFC/RFC7234.php +++ b/src/RFC/RFC7234.php @@ -50,7 +50,7 @@ interface RFC7234 extends ProposedStandard, IETFStream /** * A cache SHOULD generate this whenever the sent response is stale. * - * @link https://tools.ietf.org/html/rfc7234#section-5.5.1 + * @link https://datatracker.ietf.org/doc/html/rfc7234#section-5.5.1 * @var int */ const RESPONSE_IS_STALE = 110; @@ -60,7 +60,7 @@ interface RFC7234 extends ProposedStandard, IETFStream * attempt to validate the response failed, due to an inability to reach * the server. * - * @link https://tools.ietf.org/html/rfc7234#section-5.5.2 + * @link https://datatracker.ietf.org/doc/html/rfc7234#section-5.5.2 * @var int */ const REVALIDATION_FAILED = 111; @@ -69,7 +69,7 @@ interface RFC7234 extends ProposedStandard, IETFStream * A cache SHOULD generate this if it is intentionally disconnected from * the rest of the network for a period of time. * - * @link https://tools.ietf.org/html/rfc7234#section-5.5.3 + * @link https://datatracker.ietf.org/doc/html/rfc7234#section-5.5.3 * @var int */ const DISCONNECTED_OPERATION = 112; @@ -79,7 +79,7 @@ interface RFC7234 extends ProposedStandard, IETFStream * lifetime greater than 24 hours and the response's age is greater than * 24 hours. * - * @link https://tools.ietf.org/html/rfc7234#section-5.5.4 + * @link https://datatracker.ietf.org/doc/html/rfc7234#section-5.5.4 * @var int */ const HEURISTIC_EXPIRATION = 113; @@ -90,7 +90,7 @@ interface RFC7234 extends ProposedStandard, IETFStream * take any automated action, besides presenting the warning to the * user. * - * @link https://tools.ietf.org/html/rfc7234#section-5.5.5 + * @link https://datatracker.ietf.org/doc/html/rfc7234#section-5.5.5 * @var int */ const MISCELLANEOUS_WARNING = 199; @@ -101,7 +101,7 @@ interface RFC7234 extends ProposedStandard, IETFStream * content-coding, media-type, or modifying the representation data, * unless this Warning code already appears in the response. * - * @link https://tools.ietf.org/html/rfc7234#section-5.5.6 + * @link https://datatracker.ietf.org/doc/html/rfc7234#section-5.5.6 * @var int */ const TRANSFORMATION_APPLIED = 214; @@ -111,7 +111,7 @@ interface RFC7234 extends ProposedStandard, IETFStream * a human user or logged. A system receiving this warning MUST NOT * take any automated action. * - * @link https://tools.ietf.org/html/rfc7234#section-5.5.7 + * @link https://datatracker.ietf.org/doc/html/rfc7234#section-5.5.7 * @var int */ const MISCELLANEOUS_PERSISTENT_WARNING = 299; diff --git a/src/RFC/RFC7235.php b/src/RFC/RFC7235.php index 063b12c..eea2290 100644 --- a/src/RFC/RFC7235.php +++ b/src/RFC/RFC7235.php @@ -62,7 +62,7 @@ interface RFC7235 extends ProposedStandard, IETFStream * enclosed representation to the user, since it usually contains relevant * diagnostic information. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7235.html#status.401 + * @link https://datatracker.ietf.org/doc/html/rfc7235#section-3.1 * * @var int */ @@ -76,7 +76,7 @@ interface RFC7235 extends ProposedStandard, IETFStream * proxy for the target resource. The client may repeat the request with a * new or replaced Proxy-Authorization header field (Section 4.4). * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7235.html#status.407 + * @link https://datatracker.ietf.org/doc/html/rfc7235#section-3.2 * * @var int */ diff --git a/src/RFC/RFC7538.php b/src/RFC/RFC7538.php index fc3416f..51d52ad 100644 --- a/src/RFC/RFC7538.php +++ b/src/RFC/RFC7538.php @@ -68,7 +68,7 @@ interface RFC7538 extends ProposedStandard, IETFStream * Section 6.4.2), except that it does not allow changing the request method * from POST to GET. * - * @link https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7538.html#status.308 + * @link https://datatracker.ietf.org/doc/html/rfc7538#section-3 * * @var int */ diff --git a/src/RFC/RFC7540.php b/src/RFC/RFC7540.php index e4a5d63..efb8421 100644 --- a/src/RFC/RFC7540.php +++ b/src/RFC/RFC7540.php @@ -65,7 +65,7 @@ interface RFC7540 extends ProposedStandard, IETFStream * by the method definition or explicit cache controls (see Section 4.2.2 of * [RFC7234]). * - * @link https://http2.github.io/http2-spec/#MisdirectedRequest + * @link https://datatracker.ietf.org/doc/html/rfc7540#section-9.1.2 * * @var int */ diff --git a/src/RFC/RFC7725.php b/src/RFC/RFC7725.php index 0316347..b479dac 100644 --- a/src/RFC/RFC7725.php +++ b/src/RFC/RFC7725.php @@ -62,7 +62,7 @@ interface RFC7725 extends ProposedStandard, IETFStream * legal authority is imposing it, and what class of resources it * applies to. * - * @link http://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00#section-3 + * @link https://datatracker.ietf.org/doc/html/rfc7725#section-3 * * @var int */ diff --git a/src/Vendor/CloudFlare.php b/src/Vendor/CloudFlare.php index e419d1b..ac74216 100644 --- a/src/Vendor/CloudFlare.php +++ b/src/Vendor/CloudFlare.php @@ -54,7 +54,7 @@ interface CloudFlare * be the case if you're sending an abnormally high number of cookies for * example. * - * @link https://support.cloudflare.com/hc/en-us/articles/200171936-Error-520 + * @link https://support.cloudflare.com/hc/en-us/articles/115003011431-Error-520#520error * * @var int */ @@ -75,7 +75,7 @@ interface CloudFlare * security solutions can mistake the increase in connections from this * smaller set of IPs as an attack, when they are legitimate. * - * @link https://support.cloudflare.com/hc/en-us/articles/200171916-Error-521 + * @link https://support.cloudflare.com/hc/en-us/articles/115003011431-Error-520#521error * * @var int */ @@ -98,7 +98,7 @@ interface CloudFlare * The likely cause is that a background task is timing out. The most common * cause would be the database or a slow application. * - * @link https://support.cloudflare.com/hc/en-us/articles/200171906-Error-522 + * @link https://support.cloudflare.com/hc/en-us/articles/115003011431-Error-520#522error * * @var int */ @@ -117,7 +117,7 @@ interface CloudFlare * As soon as you make the change in your CloudFlare DNS Settings page, wait * up to 5 minutes for it to take effect. * - * @link https://support.cloudflare.com/hc/en-us/articles/200171946-Error-523 + * @link https://support.cloudflare.com/hc/en-us/articles/115003011431-Error-520#523error * * @var int */ @@ -139,7 +139,7 @@ interface CloudFlare * server is overloaded. With a 524 error, the connection is made but then * the request times out. * - * @link https://support.cloudflare.com/hc/en-us/articles/200171926-Error-524 + * @link https://support.cloudflare.com/hc/en-us/articles/115003011431-Error-520#524error * * @var int */ diff --git a/src/Vendor/Microsoft.php b/src/Vendor/Microsoft.php index e9b14ca..f3c0104 100644 --- a/src/Vendor/Microsoft.php +++ b/src/Vendor/Microsoft.php @@ -61,7 +61,7 @@ interface Microsoft * sends a "HTTP/1.1 449 Retry with valid parameters: param1, param2, . . ." * response. The applications may choose to learn, or not. * - * @link http://msdn.microsoft.com/en-us/library/dd891478.aspx + * @link https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wdv/83ecf19f-e0f8-4706-aae5-ba618f52f100 * * @var int */