on master help sign in
updating the manual of sendResponse.
commit596714697d5f43ecb9afe406f5be481de91c5823 authorKazu Yamamoto <kazu@iij.ad.jp> dateFri 4 Dec 2015, 13:38 (11 years ago) parentb38899b
1 file changed+2−1
warp/Network/Wai/Handler/Warp/Response.hs+2−1
warp/Network/Wai/Handler/Warp/Response.hs+2−1
@@ -82,7 +82,8 @@ import qualified Paths_warp
8282-- so that inconsistency does not happen.
8383-- No header is deleted by this function.
8484--
85−-- Especially, Applications/middlewares MUST take attention to
85+-- Especially, Applications/middlewares MUST provide a proper
86+-- Content-Type. They MUST NOT provide
8687-- Content-Length, Content-Range, and Transfer-Encoding
8788-- because they are inserted, when necessary,
8889-- regardless they already exist.