@@ -88,6 +88,17 @@ checkPartRange fileSize mPart mRange = checkPart mPart mRange
8888
8989-- | Sending a HTTP response to 'Connection' according to 'Response'.
9090--
91+-- Applications/middlewares MUST specify a proper 'H.ResponseHeaders'.
92+-- so that inconsistency does not happen.
93+-- No header is deleted by this function.
94+--
95+-- Especially, Applications/middlewares MUST take care of
96+-- Content-Length, Content-Range, and Transfer-Encoding
97+-- because they are inserted, when necessary,
98+-- regardless they alredy exist.
99+-- This function does not insert Content-Encoding. It's middleware's
100+-- responsibility.
101+--
91102-- The Server header is added if not exist in HTTP response header.
92103--
93104-- There are three basic APIs to create 'Response':