Skip to content

Commit

Permalink
docs: mention about multipart support (#5144)
Browse files Browse the repository at this point in the history
  • Loading branch information
fawazahmed0 committed Nov 6, 2023
1 parent 9dc30b5 commit c0ab598
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Reference/ContentTypeParser.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Natively, Fastify only supports `'application/json'` and `'text/plain'` content
types. If the content type is not one of these, an
`FST_ERR_CTP_INVALID_MEDIA_TYPE` error will be thrown.
Other common content types are supported through the use of
[plugins](https://fastify.dev/ecosystem/).

The default charset is `utf-8`. If you need to support different content types,
you can use the `addContentTypeParser` API. *The default JSON and/or plain text
Expand Down

0 comments on commit c0ab598

Please sign in to comment.