Skip to content

Commit 618c693

Browse files
authored
Improved some performance by using lowercase headers. (#4514)
1 parent 367b5de commit 618c693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Security.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class Security
1919

2020
public const KEY = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11';
2121

22-
public const SEC_WEBSOCKET_KEY = 'Sec-Websocket-Key';
22+
public const SEC_WEBSOCKET_KEY = 'sec-websocket-key';
2323

24-
public const SEC_WEBSOCKET_PROTOCOL = 'Sec-WebSocket-Protocol';
24+
public const SEC_WEBSOCKET_PROTOCOL = 'sec-webSocket-protocol';
2525

2626
public function isInvalidSecurityKey(string $key): bool
2727
{

0 commit comments

Comments
 (0)