| Portability | non-portable (not tested) | 
|---|---|
| Stability | experimental | 
| Maintainer | Ganesh Sittampalam <http@projects.haskell.org> | 
| Safe Haskell | Safe-Inferred | 
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 Browser.
- data Cookie = MkCookie {}
- cookieMatch :: (String, String) -> Cookie -> Bool
- cookiesToHeader :: [Cookie] -> Header
- processCookieHeaders :: String -> [Header] -> ([String], [Cookie])
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. 
cookiesToHeader :: [Cookie] -> HeaderSource
cookieToHeaders ck serialises Cookies to an HTTP request header.