http-types-0.9: 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

Byte ranges

data ByteRange Source

RFC 2616 Byte range (individual).

Negative indices are not allowed!

type ByteRanges = [ByteRange] Source

RFC 2616 Byte ranges (set).