Portability | non-portable (not tested) |
---|---|
Stability | experimental |
Maintainer | Sigbjorn Finne <[email protected]> |
Network.HTTP.Cookie
Description
This module provides the data types and functions for working with HTTP cookies.
Right now, it contains mostly functionality needed by Network.Browser
.
Documentation
Cookie
is the Haskell representation of HTTP cookie values.
See its relevant specs for authoritative details.
Constructors
MkCookie | |
cookieMatch :: (String, String) -> Cookie -> BoolSource
cookieMatch (domain,path) ck
performs the standard cookie
match wrt the given domain and path.
cookieToHeader :: Cookie -> HeaderSource
cookieToHeader ck
serialises a Cookie
to an HTTP request header.