| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 512dba6 commit 3e156af
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1009,10 +1009,9 @@ All `Http2Stream` instances are [`Duplex`][] streams. The `Writable` side of the | |||
| 1009 | 1009 | `Duplex` is used to send data to the connected peer, while the `Readable` side | |
| 1010 | 1010 | is used to receive data sent by the connected peer. | |
| 1011 | 1011 | ||
| 1012 | - The default text character encoding for all `Http2Stream`s is UTF-8. As a best | ||
| 1013 | - practice, it is recommended that when using an `Http2Stream` to send text, | ||
| 1014 | - the `'content-type'` header should be set and should identify the character | ||
| 1015 | - encoding used. | ||
| 1012 | + The default text character encoding for an `Http2Stream` is UTF-8. When using an | ||
| 1013 | + `Http2Stream` to send text, use the `'content-type'` header to set the character | ||
| 1014 | + encoding. | ||
| 1016 | 1015 | ||
| 1017 | 1016 | ```js | |
| 1018 | 1017 | stream.respond({ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments