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

Portability
Stabilityprovisional
Maintainerdiatchki@galois.com

Network.HTTP.Server.Response

Description

 

Synopsis

Documentation

data StatusCode Source

A list of status code. This not yet complete.

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

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 aSource

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

reason :: StatusCode -> StringSource

A brief description of what happend.