Module
Network.HTTP.Types.Header
- Package
- purescript-http-types
- Repository
- chrisdotcode/purescript-http-types
#HeaderValue Source
data HeaderValueA header value is either a string by itself (e.g.: 'text/html;
charset=UTF-8'), or a non-empty list of strings in the case of a
header that might be included multiple different times (e.g.: the
Vary header with values ['Origin', 'Accept-Encoding']).
Constructors
Instances
#HeaderName Source
data HeaderNameA list of standard headers. If it's non-standard, use the 'Custom' constructor.
Constructors
AIMAcceptAcceptAdditionsAcceptCharsetAcceptEncodingAcceptFeaturesAcceptLanguageAcceptRangesAgeAllowAlternatesAuthenticationInfoAuthorizationCExtCManCOptCPEPCPEPInfoCacheControlConnectionContentBaseContentDispositionContentEncodingContentIDContentLanguageContentLengthContentLocationContentMD5ContentRangeContentScriptTypeContentStyleTypeContentTypeContentVersionCookieCookie2DAVDateDefaultStyleDeltaBaseDepthDerivedFromDestinationDifferentialIDDigestETagExpectExpiresExtFromGetProfileHostIMIfIfMatchIfModifiedSinceIfNoneMatchIfRangeIfUnmodifiedSinceKeepAliveLabelLastModifiedLinkLocationLockTokenMIMEVersionManMaxForwardsMeterNegotiateOptOrderingTypeOverwriteP3PPEPPICSLabelPepInfoPositionPragmaProfileObjectProtocolProtocolInfoProtocolQueryProtocolRequestProxyAuthenticateProxyAuthenticationInfoProxyAuthorizationProxyFeaturesProxyInstructionPublicRangeRefererRetryAfterSafeSecuritySchemeServerSetCookieSetCookie2SetProfileSoapActionStatusURISurrogateCapabilitySurrogateControlTCNTETimeoutTrailerTransferEncodingURIUpgradeUserAgentVariantVaryVaryViaWWWAuthenticateWantDigestWarningCustom String
Instances
#headerNameFromString Source
headerNameFromString :: String -> HeaderNameCreates a 'HeaderName' from a string. If the given string is a non-standard HTTP header name, then a 'Custom' 'HeaderName' is returned.
#Headers Source
type Headers = Map HeaderName HeaderValueA type alias for a group of HTTP headers.