X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FAuthorization.hs;h=d91fe29024dc3a8ac6e27bb1e989ffa287044b9b;hb=ea2b7838f1b3d9d4923a220a601be2e04cc559d7;hp=64183ff1c86ef1317efd3352d94ff051fa6cd429;hpb=c7a8bc012b1b70353d567bfab86fc6e849d60c20;p=Lucu.git diff --git a/Network/HTTP/Lucu/Authorization.hs b/Network/HTTP/Lucu/Authorization.hs index 64183ff..d91fe29 100644 --- a/Network/HTTP/Lucu/Authorization.hs +++ b/Network/HTTP/Lucu/Authorization.hs @@ -2,7 +2,6 @@ OverloadedStrings , UnicodeSyntax #-} -{-# OPTIONS_HADDOCK prune #-} -- |Manipulation of WWW authorization. module Network.HTTP.Lucu.Authorization @@ -13,7 +12,7 @@ module Network.HTTP.Lucu.Authorization , Password , printAuthChallenge - , authCredentialP -- private + , authCredentialP ) where import Data.Ascii (Ascii) @@ -59,8 +58,7 @@ printAuthChallenge (BasicAuthChallenge realm) authCredentialP ∷ Parser AuthCredential authCredentialP - = try $ - do _ ← string "Basic" + = do _ ← string "Basic" skipMany1 lws b64 ← takeWhile1 base64 case C8.break (≡ ':') (B64.decodeLenient b64) of