X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FResponse.hs;fp=Network%2FHTTP%2FLucu%2FResponse.hs;h=93291a779430c2f98e6e8ab6f6a4caa9fdcb6ff8;hp=920449db36e469b431babe522792ca954a6aac07;hb=243b99439640480fc148d2e175247dacce04a222;hpb=9ee424cdca5d3030f8ef38d82b1c59d83fd6a98d diff --git a/Network/HTTP/Lucu/Response.hs b/Network/HTTP/Lucu/Response.hs index 920449d..93291a7 100644 --- a/Network/HTTP/Lucu/Response.hs +++ b/Network/HTTP/Lucu/Response.hs @@ -7,16 +7,10 @@ , UnicodeSyntax , ViewPatterns #-} --- |Definition of things related on HTTP response. +-- |Definition of HTTP responses. module Network.HTTP.Lucu.Response - ( -- * Class and Types - StatusCode(..) - , SomeStatusCode - , Response(..) - , statusCodes - , module Network.HTTP.Lucu.StatusCode - - -- * Functions + ( Response(..) + , emptyResponse , setStatusCode , resCanHaveBody @@ -36,8 +30,7 @@ import Data.Convertible.Utils import Data.Monoid.Unicode import Network.HTTP.Lucu.Headers import Network.HTTP.Lucu.HttpVersion -import Network.HTTP.Lucu.StatusCode -import Network.HTTP.Lucu.StatusCode.Internal +import Network.HTTP.Lucu.Response.StatusCode import Prelude.Unicode -- |This is the definition of an HTTP response.