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

Safe HaskellNone

Network.HTTP.Types.Header

Contents

Synopsis

Types

type HeaderName = CI ByteStringSource

Header name

type RequestHeaders = [Header]Source

Request Headers

type ResponseHeaders = [Header]Source

Response Headers

Common headers

hAccept :: HeaderNameSource

HTTP Header names

hAcceptLanguage :: HeaderNameSource

HTTP Header names

hAuthorization :: HeaderNameSource

HTTP Header names

hCacheControl :: HeaderNameSource

HTTP Header names

hCookie :: HeaderNameSource

HTTP Header names

hConnection :: HeaderNameSource

HTTP Header names

hContentEncoding :: HeaderNameSource

HTTP Header names

hContentLength :: HeaderNameSource

HTTP Header names

hContentMD5 :: HeaderNameSource

HTTP Header names

hContentType :: HeaderNameSource

HTTP Header names

hDate :: HeaderNameSource

HTTP Header names

hIfModifiedSince :: HeaderNameSource

HTTP Header names

hIfRange :: HeaderNameSource

HTTP Header names

hLastModified :: HeaderNameSource

HTTP Header names

hLocation :: HeaderNameSource

HTTP Header names

hRange :: HeaderNameSource

HTTP Header names

hReferer :: HeaderNameSource

HTTP Header names

hServer :: HeaderNameSource

HTTP Header names

hUserAgent :: HeaderNameSource

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).