X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FAuthorization.hs;h=789b5d1c971dfba93f0612e46d1fe79b86fdc9ad;hp=d91fe29024dc3a8ac6e27bb1e989ffa287044b9b;hb=6126eb9cbe5b38c300d855d96d2238831e59b5dd;hpb=558205096e7f51da7018458d173584ac31808082 diff --git a/Network/HTTP/Lucu/Authorization.hs b/Network/HTTP/Lucu/Authorization.hs index d91fe29..789b5d1 100644 --- a/Network/HTTP/Lucu/Authorization.hs +++ b/Network/HTTP/Lucu/Authorization.hs @@ -29,7 +29,7 @@ import Prelude.Unicode -- \"WWW-Authenticate\" header. See -- 'Network.HTTP.Lucu.Resource.setWWWAuthenticate'. data AuthChallenge - = BasicAuthChallenge Realm + = BasicAuthChallenge !Realm deriving (Eq) -- |'Realm' is just a string which must not contain any non-ASCII letters. @@ -39,7 +39,7 @@ type Realm = Ascii -- \"Authorization\" header. See -- 'Network.HTTP.Lucu.Resource.getAuthorization'. data AuthCredential - = BasicAuthCredential UserID Password + = BasicAuthCredential !UserID !Password deriving (Show, Eq) -- |'UserID' is just a string which must not contain colon and any