Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- (.#) :: FromText a => ResponseHeaders -> HeaderName -> Either String a
- (.#?) :: FromText a => ResponseHeaders -> HeaderName -> Either String (Maybe a)
- (=#) :: ToHeader a => HeaderName -> a -> [Header]
- hdr :: HeaderName -> ByteString -> [Header] -> [Header]
- class ToHeaders a where
- class ToHeader a where
- hHost :: HeaderName
- hExpect :: HeaderName
- hAMZToken :: HeaderName
- hAMZTarget :: HeaderName
- hAMZAlgorithm :: HeaderName
- hAMZCredential :: HeaderName
- hAMZExpires :: HeaderName
- hAMZSignedHeaders :: HeaderName
- hAMZContentSHA256 :: HeaderName
- hAMZDate :: HeaderName
- hMetaPrefix :: HeaderName
- hAMZRequestId :: HeaderName
- hAMZNRequestId :: HeaderName
- hAMZNErrorType :: HeaderName
- hAMZNAuth :: HeaderName
- hAMZDecodedContentLength :: HeaderName
- hTransferEncoding :: HeaderName
- hFormEncoded :: ByteString
- type HeaderName = CI ByteString
- type Header = (HeaderName, ByteString)
- hContentType :: HeaderName
Documentation
(.#) :: FromText a => ResponseHeaders -> HeaderName -> Either String a infixl 7 Source #
(.#?) :: FromText a => ResponseHeaders -> HeaderName -> Either String (Maybe a) infixl 7 Source #
hdr :: HeaderName -> ByteString -> [Header] -> [Header] Source #
hHost :: HeaderName Source #
hExpect :: HeaderName Source #
type HeaderName = CI ByteString #
Header name
type Header = (HeaderName, ByteString) #
Header
HTTP Header names According to http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html