http-types-0.8.6: Generic HTTP types for Haskell (for both client and server code).

Safe HaskellNone
LanguageHaskell98

Network.HTTP.Types.Header

Contents

Synopsis

Types

type HeaderName = CI ByteString Source

Header name

type RequestHeaders = [Header] Source

Request Headers

type ResponseHeaders = [Header] Source

Response Headers

Common headers

hAccept :: HeaderName Source

HTTP Header names

hAcceptLanguage :: HeaderName Source

HTTP Header names

hAuthorization :: HeaderName Source

HTTP Header names

hCacheControl :: HeaderName Source

HTTP Header names

hCookie :: HeaderName Source

HTTP Header names

hConnection :: HeaderName Source

HTTP Header names

hContentEncoding :: HeaderName Source

HTTP Header names

hContentLength :: HeaderName Source

HTTP Header names

hContentMD5 :: HeaderName Source

HTTP Header names

hContentType :: HeaderName Source

HTTP Header names

hDate :: HeaderName Source

HTTP Header names

hIfModifiedSince :: HeaderName Source

HTTP Header names

hIfRange :: HeaderName Source

HTTP Header names

hLastModified :: HeaderName Source

HTTP Header names

hLocation :: HeaderName Source

HTTP Header names

hRange :: HeaderName Source

HTTP Header names

hReferer :: HeaderName Source

HTTP Header names

hServer :: HeaderName Source

HTTP Header names

hUserAgent :: HeaderName Source

HTTP Header names

Byte ranges

data ByteRange Source

RFC 2616 Byte range (individual).

Negative indices are not allowed!

type ByteRanges = [ByteRange] Source

RFC 2616 Byte ranges (set).