X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FRequest.hs;h=bc1c317ddeea266ff2fa87275c5370a6fc078c81;hp=1645b5bc60df3f97e6ae4e77074a6bab09eefd5a;hb=858129cb755aa09da2b7bd758efb8519f2c89103;hpb=5b255535f2c7d2a6d4622ad164b31e63746b906e diff --git a/Network/HTTP/Lucu/Request.hs b/Network/HTTP/Lucu/Request.hs index 1645b5b..bc1c317 100644 --- a/Network/HTTP/Lucu/Request.hs +++ b/Network/HTTP/Lucu/Request.hs @@ -28,16 +28,16 @@ data Method = OPTIONS | DELETE | TRACE | CONNECT - | ExtensionMethod String + | ExtensionMethod !String deriving (Eq, Show) -- |This is the definition of HTTP reqest. data Request = Request { - reqMethod :: Method - , reqURI :: URI - , reqVersion :: HttpVersion - , reqHeaders :: Headers + reqMethod :: !Method + , reqURI :: !URI + , reqVersion :: !HttpVersion + , reqHeaders :: !Headers } deriving (Show, Eq)