Skip to content

Commit 5237a36

Browse files
authored
Fix missing http code 425 reason. (#768)
1 parent 91c7803 commit 5237a36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Swoole/SwooleClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class SwooleClient implements Client, ServesStaticFiles
2121
{
2222
const STATUS_CODE_REASONS = [
2323
419 => 'Page Expired',
24+
425 => 'Too Early',
2425
431 => 'Request Header Fields Too Large', // RFC6585
2526
451 => 'Unavailable For Legal Reasons', // RFC7725
2627
];

0 commit comments

Comments
 (0)