@@ -45,7 +45,7 @@ |
||
45 | 45 | */ |
46 | 46 | enum StatusCodeDescriptions: string |
47 | 47 | { |
48 | - case Continue = 'This interim response indicates that the client should continue the request or ignore the response if the request is already finished.'; |
|
48 | + case continue = 'This interim response indicates that the client should continue the request or ignore the response if the request is already finished.'; |
|
49 | 49 | case Switching_Protocols = 'This code is sent in response to an Upgrade request header from the client and indicates the protocol the server is switching to.'; |
50 | 50 | case Processing = '[WebDav] This code indicates that the server has received and is processing the request, but no response is available yet.'; |
51 | 51 | case Early_Hints = 'This status code is primarily intended to be used with the Link header, letting the user agent start preloading resources while the server prepares a response or preconnect to an origin from which the page will need resources.'; |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | enum StatusCodes: int |
56 | 56 | { |
57 | 57 | // RFC7231, Section 6.2.1 |
58 | - case Continue = 100; |
|
58 | + case continue = 100; |
|
59 | 59 | // RFC7231, Section 6.2.2 |
60 | 60 | case Switching_Protocols = 101; |
61 | 61 | // RFC2518 |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | public function getDescription(): StatusCodeDescriptions |
250 | 250 | { |
251 | 251 | return match($this) { |
252 | - self::Continue => StatusCodeDescriptions::Continue, |
|
252 | + self::continue => StatusCodeDescriptions::continue, |
|
253 | 253 | self::Switching_Protocols => StatusCodeDescriptions::Switching_Protocols, |
254 | 254 | self::Processing => StatusCodeDescriptions::Processing, |
255 | 255 | self::Early_Hints => StatusCodeDescriptions::Early_Hints, |