Skip to content

Commit 4315f9a

Browse files
authored
Update parse_chunked_body.ts
1 parent 0b6ae27 commit 4315f9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/http/response/body/parse_chunked_body.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import { InvalidChunkSizeError, MalformedChunkedEncodingError } from '../../erro
1010
*
1111
* @example
1212
* ```
13-
* 5\r\n
14-
* Hello\r\n
1513
* 6\r\n
16-
* World\r\n
14+
* Hello \r\n
15+
* 6\r\n
16+
* World!\r\n
1717
* 0\r\n
1818
* \r\n
1919
* ```
20-
* Results in: "Wikipedia"
20+
* Results in: "Hello World!"
2121
*
2222
* @param body The chunked encoded body string
2323
* @throws `MalformedChunkedEncodingError` if the chunked encoding is malformed

0 commit comments

Comments
 (0)