Documentation: Unify deprecations

This commit is contained in:
Danil Alexeev
2023-06-06 11:27:29 +03:00
parent e7d2e49688
commit b433020aa6
12 changed files with 23 additions and 18 deletions
+4 -4
View File
@@ -321,11 +321,11 @@
<constant name="RESPONSE_NOT_MODIFIED" value="304" enum="ResponseCode">
HTTP status code [code]304 Not Modified[/code]. A conditional GET or HEAD request has been received and would have resulted in a 200 OK response if it were not for the fact that the condition evaluated to [code]false[/code].
</constant>
<constant name="RESPONSE_USE_PROXY" value="305" enum="ResponseCode">
HTTP status code [code]305 Use Proxy[/code]. [i]Deprecated. Do not use.[/i]
<constant name="RESPONSE_USE_PROXY" value="305" enum="ResponseCode" is_deprecated="true">
[i]Deprecated.[/i] HTTP status code [code]305 Use Proxy[/code].
</constant>
<constant name="RESPONSE_SWITCH_PROXY" value="306" enum="ResponseCode">
HTTP status code [code]306 Switch Proxy[/code]. [i]Deprecated. Do not use.[/i]
<constant name="RESPONSE_SWITCH_PROXY" value="306" enum="ResponseCode" is_deprecated="true">
[i]Deprecated.[/i] HTTP status code [code]306 Switch Proxy[/code].
</constant>
<constant name="RESPONSE_TEMPORARY_REDIRECT" value="307" enum="ResponseCode">
HTTP status code [code]307 Temporary Redirect[/code]. The target resource resides temporarily under a different URI and the user agent MUST NOT change the request method if it performs an automatic redirection to that URI.