X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FResponse.hs;h=920449db36e469b431babe522792ca954a6aac07;hb=eb77281b24b8d7218e1fd80164f941836cef1d5a;hp=1ff9ae71c51904dd87f427921527dd35d92fe014;hpb=1376e182d0f455392dc15c4d93049d9031b36d00;p=Lucu.git diff --git a/Network/HTTP/Lucu/Response.hs b/Network/HTTP/Lucu/Response.hs index 1ff9ae7..920449d 100644 --- a/Network/HTTP/Lucu/Response.hs +++ b/Network/HTTP/Lucu/Response.hs @@ -21,8 +21,6 @@ module Network.HTTP.Lucu.Response , setStatusCode , resCanHaveBody - , (≈) - , (≉) , isInformational , isSuccessful , isRedirection @@ -91,11 +89,11 @@ setStatusCode sc res resCanHaveBody ∷ Response → Bool {-# INLINEABLE resCanHaveBody #-} resCanHaveBody (Response {..}) - | isInformational resStatus = False - | resStatus ≈ NoContent = False - | resStatus ≈ ResetContent = False - | resStatus ≈ NotModified = False - | otherwise = True + | isInformational resStatus = False + | resStatus ≡ cs NoContent = False + | resStatus ≡ cs ResetContent = False + | resStatus ≡ cs NotModified = False + | otherwise = True -- |@'isInformational' sc@ returns 'True' iff @sc '<' 200@. isInformational ∷ StatusCode sc ⇒ sc → Bool