mohws-0.2.0.1: Modular Haskell Web ServerSource codeContentsIndex
Network.MoHWS.HTTP.Response
Documentation
data Body body Source
Constructors
Body
source :: String
size :: Maybe Integer
close :: IO ()
content :: body
show/hide Instances
data T body Source
Constructors
Cons
code :: Int
description :: String
headers :: Group
coding :: [TransferCoding]
doSendBody :: Bool
body :: Body body
show/hide Instances
Functor T
Show (T body)
HasHeaders (T body)
decomposeCode :: Int -> ResponseCodeSource
toHTTPbis :: T body -> Response bodySource
fromHTTPbis :: Response body -> T bodySource
showStatusLine :: T body -> StringSource
hasBody :: C body => Body body -> BoolSource
getFileName :: Body body -> StringSource
sendBody :: C body => Handle -> Body body -> IO ()Source
sendBodyChunked :: C body => Int -> Handle -> Body body -> IO ()Source
bodyFromString :: C body => body -> Body bodySource
bodyWithSizeFromString :: C body => body -> Body bodySource
statusLine :: Int -> String -> StringSource
httpVersion :: StringSource
dateHeader :: IO TSource
serverHeader :: TSource
makeCont :: C body => T ext -> T bodySource
makeSwitchingProtocols :: C body => T ext -> T bodySource
makeOk :: T ext -> Bool -> Group -> Body body -> T bodySource
makeCreated :: C body => T ext -> T bodySource
makeAccepted :: C body => T ext -> T bodySource
makeNonAuthoritiveInformation :: C body => T ext -> T bodySource
makeNoContent :: C body => T ext -> T bodySource
makeResetContent :: C body => T ext -> T bodySource
makePartialContent :: C body => T ext -> T bodySource
makeMultipleChoices :: C body => T ext -> T bodySource
makeMovedPermanently :: T ext -> Group -> Body body -> URI -> T bodySource
makeFound :: C body => T ext -> T bodySource
makeSeeOther :: C body => T ext -> T bodySource
makeNotModified :: C body => T ext -> T bodySource
makeUseProxy :: C body => T ext -> T bodySource
makeTemporaryRedirect :: C body => T ext -> T bodySource
makeBadRequest :: C body => T ext -> T bodySource
makeUnauthorized :: C body => T ext -> T bodySource
makePaymentRequired :: C body => T ext -> T bodySource
makeForbidden :: C body => T ext -> T bodySource
makeNotFound :: C body => T ext -> T bodySource
makeMethodNotAllowed :: C body => T ext -> T bodySource
makeNotAcceptable :: C body => T ext -> T bodySource
makeProxyAuthenticationRequired :: C body => T ext -> T bodySource
makeRequestTimeOut :: C body => T ext -> T bodySource
makeConflict :: C body => T ext -> T bodySource
makeGone :: C body => T ext -> T bodySource
makeLengthRequired :: C body => T ext -> T bodySource
makePreconditionFailed :: C body => T ext -> T bodySource
makeRequestEntityTooLarge :: C body => T ext -> T bodySource
makeRequestURITooLarge :: C body => T ext -> T bodySource
makeUnsupportedMediaType :: C body => T ext -> T bodySource
makeRequestedRangeNotSatisfiable :: C body => T ext -> T bodySource
makeExpectationFailed :: C body => T ext -> T bodySource
makeInternalServerError :: C body => T ext -> T bodySource
makeNotImplemented :: C body => T ext -> T bodySource
makeBadGateway :: C body => T ext -> T bodySource
makeServiceUnavailable :: C body => T ext -> T bodySource
makeGatewayTimeOut :: C body => T ext -> T bodySource
makeVersionNotSupported :: C body => T ext -> T bodySource
descriptionDictionary :: Map Int StringSource
descriptionFromCode :: Int -> StringSource
makeError :: C body => Int -> T ext -> T bodySource
makeWithBody :: Int -> T ext -> Bool -> Group -> Body body -> T bodySource
generateErrorPage :: C body => Int -> T ext -> Body bodySource
genErrorHtml :: Int -> T ext -> HtmlSource
Produced by Haddock version 2.4.2