1 -- | Lucu is an HTTP daemonic library. It can be embedded in any
2 -- Haskell program and runs in an independent thread.
6 -- [/Full support of HTTP\/1.1/] Lucu supports request pipelining,
7 -- chunked I\/O, ETag comparison and \"100 Continue\".
9 -- [/Performance/] Lucu doesn't fork\/exec to handle requests like
10 -- CGI. It just spawns a new thread. Inter-process communication is
13 -- Lucu is not a replacement for Apache. It is intended to be used to
14 -- create an efficient web-based application without messing around
15 -- FastCGI. It is also intended to be run behind a reverse-proxy so it
16 -- doesn't have the following (otherwise essential) facilities:
18 -- [/Logging/] Lucu doesn't log any requests from any clients.
20 -- [/Client Filtering/] Lucu always accepts any clients. No IP
21 -- filter is implemented.
23 -- [/SSL Support/] Lucu can handle only HTTP.
25 -- [/Bandwidth Limitting/] Lucu doesn't limit bandwidth it consumes.
27 -- [/Protection Against Wicked Clients/] Lucu is fragile against
28 -- wicked clients. No attacker should be able to cause a
29 -- buffer-overflow but can possibly DoS it.
33 module Network.HTTP.Lucu
38 , module Network.HTTP.Lucu.Config
46 , module Network.HTTP.Lucu.Resource
48 -- ** Things to be used in the Resource monad
70 -- ** Static file handling
71 , module Network.HTTP.Lucu.StaticFile
75 import Network.HTTP.Lucu.Abortion
76 import Network.HTTP.Lucu.Config
77 import Network.HTTP.Lucu.ETag
78 import Network.HTTP.Lucu.Httpd
79 import Network.HTTP.Lucu.MIMEType
80 import Network.HTTP.Lucu.Resource hiding (driftTo)
81 import Network.HTTP.Lucu.Resource.Tree
82 import Network.HTTP.Lucu.Response
83 import Network.HTTP.Lucu.StaticFile