From 2be621871d3bef5b2c08fac209dfdf8800f61bfc Mon Sep 17 00:00:00 2001 From: "Julian K. Arni" Date: Tue, 15 Sep 2015 17:21:41 +0200 Subject: [PATCH] Document octet-stream default RFC. --- servant-server/src/Servant/Server/Internal.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servant-server/src/Servant/Server/Internal.hs b/servant-server/src/Servant/Server/Internal.hs index 487911d5..a94ce045 100644 --- a/servant-server/src/Servant/Server/Internal.hs +++ b/servant-server/src/Servant/Server/Internal.hs @@ -686,7 +686,8 @@ instance HasServer Raw where -- that takes an argument of the type specified by 'ReqBody'. -- The @Content-Type@ header is inspected, and the list provided is used to -- attempt deserialization. If the request does not have a @Content-Type@ --- header, it is treated as @application/octet-stream@. +-- header, it is treated as @application/octet-stream@ (as specified in +-- . -- This lets servant worry about extracting it from the request and turning -- it into a value of the type you specify. --