Skip to content

Commit 01ebc30

Browse files
authored
typo
1 parent 7b76185 commit 01ebc30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/11-websocket/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Sec-WebSocket-Key: Iv8io/9s+lYFgZWcXczP8Q==
8888
Sec-WebSocket-Version: 13
8989
```
9090

91-
- `Origin` -- the origin of the client page, e.g. `https://javascript.info`. WebSocket objects are cross-origin by nature. There are no special headers or other limitations. Old servers are unable to handle WebSocket anyway, so there are no compabitility issues. But `Origin` header is important, as it allows the server to decide whether or not to talk WebSocket with this website.
91+
- `Origin` -- the origin of the client page, e.g. `https://javascript.info`. WebSocket objects are cross-origin by nature. There are no special headers or other limitations. Old servers are unable to handle WebSocket anyway, so there are no compatibility issues. But `Origin` header is important, as it allows the server to decide whether or not to talk WebSocket with this website.
9292
- `Connection: Upgrade` -- signals that the client would like to change the protocol.
9393
- `Upgrade: websocket` -- the requested protocol is "websocket".
9494
- `Sec-WebSocket-Key` -- a random browser-generated key for security.

0 commit comments

Comments
 (0)