Skip to content

Commit

Permalink
Fix typo in Content-Type docs (haskell-servant#1792)
Browse files Browse the repository at this point in the history
  • Loading branch information
knutanderss authored and theophile-scrive committed Dec 8, 2024
1 parent f934a2c commit 4cd49a1
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 4cd49a1

Please sign in to comment.