1 -- | Lucu is an embedded HTTP server library.
5 -- [/Affinity for RESTafarians/] Lucu is specifically designed to be
6 -- suitable for RESTful applications.
8 -- [/Full support of HTTP/\//1.1/] Lucu supports request pipelining,
9 -- chunked I\/O, ETag comparison and \"100 Continue\".
11 -- [/SSL connections/] Lucu can handle HTTP connections over Secure
12 -- Socket Layer when configured with -fssl flag.
14 -- Lucu is not a replacement for Apache or lighttpd. It is intended to
15 -- be used to build an efficient web-based RESTful application which
16 -- runs behind a reverse-proxy so it doesn't have the following
17 -- (otherwise essential) functionalities:
19 -- [/Logging/] Lucu doesn't write logs of any requests from any
22 -- [/Client Filtering/] Lucu always accepts any clients. No IP
23 -- filter is implemented.
25 -- [/Bandwidth Limitting/] Lucu doesn't limit bandwidth it consumes.
27 -- [/Protection Against Wicked Clients/] Lucu is somewhat fragile
28 -- against wicked clients. No attacker should be able to cause a
29 -- buffer-overflow but can possibly DoS it.
31 module Network.HTTP.Lucu
36 , module Network.HTTP.Lucu.Config
38 -- * URI-related data types
42 -- * 'Resource' dispatcher
43 , module Network.HTTP.Lucu.Dispatcher
46 , module Network.HTTP.Lucu.Resource
48 -- ** Things to be used in the Resource monad
53 , module Network.HTTP.Lucu.StatusCode
56 , module Network.HTTP.Lucu.Abortion
75 -- ** Static file handling
76 , module Network.HTTP.Lucu.StaticFile
79 import Network.HTTP.Lucu.Abortion
80 import Network.HTTP.Lucu.Authentication
81 import Network.HTTP.Lucu.Config
82 import Network.HTTP.Lucu.Dispatcher
83 import Network.HTTP.Lucu.ETag
84 import Network.HTTP.Lucu.Httpd
85 import Network.HTTP.Lucu.MIMEParams
86 import Network.HTTP.Lucu.MIMEType hiding (mimeType)
87 import Network.HTTP.Lucu.MIMEType.TH
88 import Network.HTTP.Lucu.Request
89 import Network.HTTP.Lucu.Resource
90 import Network.HTTP.Lucu.Response
91 import Network.HTTP.Lucu.StaticFile
92 import Network.HTTP.Lucu.StatusCode
93 import Network.HTTP.Lucu.Utils