HTTP-4000年4月1日: A library for client-side HTTP
CopyrightSee LICENSE file
LicenseBSD
MaintainerGanesh Sittampalam <ganesh@earth.li>
Stabilityexperimental
Portabilitynon-portable (not tested)
Safe HaskellSafe-Inferred
LanguageHaskell98

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 .

Documentation

data Cookie Source #

Cookie is the Haskell representation of HTTP cookie values. See its relevant specs for authoritative details.

Constructors

Instances

Instances details
Instance details

Defined in Network.HTTP.Cookie

Methods

(==) :: Cookie -> Cookie -> Bool #

(/=) :: Cookie -> Cookie -> Bool #

Instance details

Defined in Network.HTTP.Cookie

Methods

showsPrec :: Int -> Cookie -> ShowS #

show :: Cookie -> String #

showList :: [Cookie] -> ShowS #

cookieMatch :: (String, String) -> Cookie -> Bool Source #

cookieMatch (domain,path) ck performs the standard cookie match wrt the given domain and path.

cookiesToHeader :: [Cookie] -> Header Source #

cookieToHeaders ck serialises Cookies to an HTTP request header.

processCookieHeaders :: String -> [Header] -> ([String], [Cookie]) Source #

processCookieHeaders dom hdrs

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