X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FRequest.hs;h=1645b5bc60df3f97e6ae4e77074a6bab09eefd5a;hp=f8b1c93504bd34cacba81fb6b9c100547fd36025;hb=30fcb38426696db8b80d322196cc594431e30407;hpb=175e14b3b144537644e65ca76f1fca5c56fd44e9 diff --git a/Network/HTTP/Lucu/Request.hs b/Network/HTTP/Lucu/Request.hs index f8b1c93..1645b5b 100644 --- a/Network/HTTP/Lucu/Request.hs +++ b/Network/HTTP/Lucu/Request.hs @@ -1,7 +1,12 @@ +-- #prune + +-- |Definition of things related on HTTP request. +-- +-- In general you don't have to use this module directly. module Network.HTTP.Lucu.Request ( Method(..) , Request(..) - , requestP -- Parser Request + , requestP ) where @@ -13,6 +18,8 @@ import Network.HTTP.Lucu.Parser import Network.HTTP.Lucu.Parser.Http import Network.URI +-- |This is the definition of HTTP request methods, which shouldn't +-- require any description. data Method = OPTIONS | GET | HEAD @@ -24,7 +31,7 @@ data Method = OPTIONS | ExtensionMethod String deriving (Eq, Show) - +-- |This is the definition of HTTP reqest. data Request = Request { reqMethod :: Method