HTTP-4000年2月13日: A library for client-side HTTP

Portabilitynon-portable (not tested)
Stabilityexperimental
MaintainerGanesh Sittampalam <http@projects.haskell.org>
Safe HaskellNone

Network.HTTP.Auth

Description

Representing HTTP Auth values in Haskell. Right now, it contains mostly functionality needed by Browser .

Documentation

data Authority Source

Authority specifies the HTTP Authentication method to use for a given domain/realm; Basic or Digest.

Constructors

data Algorithm Source

Algorithm controls the digest algorithm to, MD5 or MD5Session.

Constructors

Instances

data Challenge Source

Constructors

Fields

chRealm :: String

data Qop Source

Constructors

Instances

headerToChallenge :: URI -> Header -> Maybe Challenge Source

headerToChallenge base www_auth tries to convert the WWW-Authenticate header www_auth into a Challenge value.

withAuthority :: Authority -> Request ty -> String Source

withAuthority auth req generates a credentials value from the auth Authority , in the context of the given request.

If a client nonce was to be used then this function might need to be of type ... -> BrowserAction String

AltStyle によって変換されたページ (->オリジナル) /