From 4cd49a102e354222df89a1a5bfb51ff655ab1843 Mon Sep 17 00:00:00 2001 From: Knut Anders Stokke Date: Sat, 19 Oct 2024 20:29:07 +0200 Subject: [PATCH] Fix typo in Content-Type docs (#1792) --- servant/src/Servant/API/ContentTypes.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servant/src/Servant/API/ContentTypes.hs b/servant/src/Servant/API/ContentTypes.hs index bcca0ca9c..0486f5dae 100644 --- a/servant/src/Servant/API/ContentTypes.hs +++ b/servant/src/Servant/API/ContentTypes.hs @@ -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,