http-server-1: A library fro writing Haskell web servers.

Portability
Stabilityprovisional
Maintainerdiatchki@galois.com

Network.HTTP.Server.Response

Description

 

Synopsis

Documentation

data StatusCode

A list of status code. This not yet complete.

err_response :: BufferType a => StatusCode -> Response a

Make a simple response with the given staus and body. Intended to be used for (bad) erros. Adds a close header.

respond :: BufferType a => StatusCode -> Response a

Make a simple response with the given staus and body. No headers or body.

reason :: StatusCode -> String

A brief description of what happend.