, setStatusCode
, resCanHaveBody
- , (≈)
- , (≉)
, isInformational
, isSuccessful
, isRedirection
resCanHaveBody ∷ Response → Bool
{-# INLINEABLE resCanHaveBody #-}
resCanHaveBody (Response {..})
- | isInformational resStatus = False
- | resStatus â\89\88 NoContent = False
- | resStatus â\89\88 ResetContent = False
- | resStatus â\89\88 NotModified = False
- | otherwise = True
+ | isInformational resStatus = False
+ | resStatus â\89¡ cs NoContent = False
+ | resStatus â\89¡ cs ResetContent = False
+ | resStatus â\89¡ cs NotModified = False
+ | otherwise = True
-- |@'isInformational' sc@ returns 'True' iff @sc '<' 200@.
isInformational ∷ StatusCode sc ⇒ sc → Bool