| HAppS-Server-0.9.2.1: Web related tools and services. | Contents | Index |
|
HAppS.Server.HTTP.LowLevel |
|
|
|
|
|
Synopsis |
|
|
|
|
HTTP Implementation
|
|
The HAppS HTTP implementation supports HTTP 1.0 and 1.1.
Multiple request on a connection including pipelining is supported.
|
|
Problems
|
|
Currently if a client sends an invalid HTTP request the whole
connection is aborted and no further processing is done.
When the connection times out HAppS closes it. In future it could
send a 408 response but this may be problematic if the sending
of a response caused the problem.
|
|
API
|
|
request :: Conf -> Handle -> Host -> (Request -> IO Response) -> IO () |
|
listen :: Conf -> (Request -> IO Response) -> IO () |
|
module HAppS.Server.HTTP.Types |
|
Produced by Haddock version 2.1.0 |