salvia-protocol-1.0.1: Salvia webserver protocol suite supporting URI, HTTP, Cookie and MIME.




statusCodes :: Bimap Int StatusSource

RFC2616 sec6.1.1 Status Code and Reason Phrase.

Bidirectional mapping from status numbers to codes.

statusFailure :: Status -> BoolSource

Every status greater-than or equal to 400 is considered to be a failure.

statusFromCode :: Int -> StatusSource

Conversion from status numbers to codes.

codeFromStatus :: Status -> IntSource

Conversion from status codes to numbers.