mirror of
https://github.com/typeable/wai.git
synced 2025-01-08 15:37:19 +03:00
doc update.
This commit is contained in:
parent
54f01c3a6a
commit
caeb8d950c
@ -88,6 +88,17 @@ checkPartRange fileSize mPart mRange = checkPart mPart mRange
|
||||
|
||||
-- | Sending a HTTP response to 'Connection' according to 'Response'.
|
||||
--
|
||||
-- Applications/middlewares MUST specify a proper 'H.ResponseHeaders'.
|
||||
-- so that inconsistency does not happen.
|
||||
-- No header is deleted by this function.
|
||||
--
|
||||
-- Especially, Applications/middlewares MUST take care of
|
||||
-- Content-Length, Content-Range, and Transfer-Encoding
|
||||
-- because they are inserted, when necessary,
|
||||
-- regardless they alredy exist.
|
||||
-- This function does not insert Content-Encoding. It's middleware's
|
||||
-- responsibility.
|
||||
--
|
||||
-- The Server header is added if not exist in HTTP response header.
|
||||
--
|
||||
-- There are three basic APIs to create 'Response':
|
||||
|
Loading…
Reference in New Issue
Block a user