Skip to content

Commit d7deef8

Browse files
authored
docs: update URL-encoded parser description to include ISO-8859-1 encoding support (#679)
1 parent b6f52aa commit d7deef8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ encoding of the request. The parsing can be aborted by throwing an error.
221221

222222
Returns middleware that only parses `urlencoded` bodies and only looks at
223223
requests where the `Content-Type` header matches the `type` option. This
224-
parser accepts only UTF-8 encoding of the body and supports automatic
225-
inflation of `gzip`, `br` (brotli) and `deflate` encodings.
224+
parser accepts only UTF-8 and ISO-8859-1 encodings of the body and supports
225+
automatic inflation of `gzip`, `br` (brotli) and `deflate` encodings.
226226

227227
A new `body` object containing the parsed data is populated on the `request`
228228
object after the middleware (i.e. `req.body`). This object will contain

0 commit comments

Comments
 (0)