Skip to content

Commit

Permalink
Fix typo in Content-Type docs (#1792)
Browse files Browse the repository at this point in the history
  • Loading branch information
knutanderss authored Oct 19, 2024
1 parent 4cdbbbd commit 1e6e566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servant/src/Servant/API/ContentTypes.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
-- >>> type MyEndpoint = ReqBody '[JSON, PlainText] Book :> Put '[JSON, PlainText] Book
--
-- Meaning the endpoint accepts requests of Content-Type @application/json@
-- or @text/plain;charset-utf8@, and returns data in either one of those
-- or @text/plain;charset=utf8@, and returns data in either one of those
-- formats (depending on the @Accept@ header).
--
-- If you would like to support Content-Types beyond those provided here,
Expand Down

0 comments on commit 1e6e566

Please sign in to comment.