پ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Safe0 HTTP Version.=Note that the Show instance is intended merely for debugging.HTTP 0.9HTTP 1.0HTTP 1.1None ?Simplified Query type without support for parameter-less items. DSimplified Query item type without support for parameter-less items. Like Query, but with  instead of  (UTF8-encoded). Query.FGeneral form: a=b&c=d, but if the value is Nothing, it becomes a&c=d. Query itemConvert   to  .Convert   to a .Convert   to   (leniently decoding the UTF-8).Parse   from a . See  for details.Convert   to  .Convert   to a Builder.Convert   to  ByteString.Convert   to  ByteString.TSplit out the query string into a list of keys and values. A few importants points:The result returned is still bytestrings, since we perform no character decoding here. Most likely, you will want to use UTF-8 decoding, but this is left to the user of the library.QPercent decoding errors are ignored. In particular, "%Q" will be output as "%Q".qBreak the second bytestring at the first occurence of any bytes from the first bytestring, discarding that byte.Parse   from a  ByteString.Percent-encoding for URLs.!Percent-encoding for URLs (using ).Percent-encoding for URLs.Percent-decoding.:Encodes a list of path segments into a valid URL fragment..This function takes the following three steps:UTF-8 encodes the characters.IPerforms percent encoding on all unreserved characters, as well as :@=+$,#Prepends each segment with a slash. For example: .encodePathSegments [\"foo\", \"bar\", \"baz\"]"/foo/bar/baz" .encodePathSegments [\"foo bar\", \"baz\/bin\"]"/foo%20bar/baz%2Fbin" encodePathSegments [\"\"]"/%D7%A9%D7%9C%D7%95%D7%9D"Huge thanks to Jeremy Shaw who created the original implementation of this function in web-routes and did such thorough research to determine all correct escaping procedures.7Like encodePathSegments, but without the initial slash.8Parse a list of path segments from a valid URL fragment.3Extract whole path (path segments + query) from a  0http://tools.ietf.org/html/rfc2616#section-5.1.2RFC 2616 Request-URI.extractPath "/path""/path"*extractPath "http://example.com:8080/path""/path" extractPath "http://example.com""/"extractPath """/" ,Encode a whole path (path segments + query).!,Decode a whole path (path segments + query). prepend a question mark?prepend a question mark?prepend question mark?prepend question mark?IWhether input is in query string. True: Query string, False: Path elementWhether to decode  to ' 'The ByteString to encode as URLThe encoded URLWhether to decode  to ' '   !  !   !    !Safe0e" HTTP Status. Only the $ is used for comparisons. Please use &6 to create status codes from code and message, or the  . instance or the status code constants (like ,:). There might be additional record members in the future.2Note that the Show instance is only for debugging.&-Create a Status from status code and message.' Continue 100( Continue 100)Switching Protocols 101*Switching Protocols 101+OK 200,OK 200- Created 201. Created 201/ Accepted 2020 Accepted 2021!Non-Authoritative Information 2032!Non-Authoritative Information 2033No Content 2044No Content 2045Reset Content 2056Reset Content 2057Partial Content 2068Partial Content 2069Multiple Choices 300:Multiple Choices 300;Moved Permanently 301<Moved Permanently 301= Found 302> Found 302? See Other 303@ See Other 303ANot Modified 304BNot Modified 304C Use Proxy 305D Use Proxy 305ETemporary Redirect 307FTemporary Redirect 307GPermanent Redirect 308HPermanent Redirect 308IBad Request 400JBad Request 400KUnauthorized 401LUnauthorized 401MPayment Required 402NPayment Required 402O Forbidden 403P Forbidden 403Q Not Found 404R Not Found 404SMethod Not Allowed 405TMethod Not Allowed 405UNot Acceptable 406VNot Acceptable 406W!Proxy Authentication Required 407X!Proxy Authentication Required 407YRequest Timeout 408ZRequest Timeout 408[ Conflict 409\ Conflict 409]Gone 410^Gone 410_Length Required 411`Length Required 411aPrecondition Failed 412bPrecondition Failed 412cRequest Entity Too Large 413dRequest Entity Too Large 413eRequest-URI Too Long 414fRequest-URI Too Long 414gUnsupported Media Type 415hUnsupported Media Type 415i#Requested Range Not Satisfiable 416j#Requested Range Not Satisfiable 416kExpectation Failed 417lExpectation Failed 417mI'm a teapot 418nI'm a teapot 418oUnprocessable Entity 422 ( #https://tools.ietf.org/html/rfc4918RFC 4918)pUnprocessable Entity 422 ( #https://tools.ietf.org/html/rfc4918RFC 4918)qPrecondition Required 428 ( #https://tools.ietf.org/html/rfc6585RFC 6585)rPrecondition Required 428 ( #https://tools.ietf.org/html/rfc6585RFC 6585)sToo Many Requests 429 ( #https://tools.ietf.org/html/rfc6585RFC 6585)tToo Many Requests 429 ( #https://tools.ietf.org/html/rfc6585RFC 6585)u&Request Header Fields Too Large 431 ( #https://tools.ietf.org/html/rfc6585RFC 6585)v&Request Header Fields Too Large 431 ( #https://tools.ietf.org/html/rfc6585RFC 6585)wInternal Server Error 500xInternal Server Error 500yNot Implemented 501zNot Implemented 501{Bad Gateway 502|Bad Gateway 502}Service Unavailable 503~Service Unavailable 503Gateway Timeout 504Gateway Timeout 504HTTP Version Not Supported 505HTTP Version Not Supported 505&Network Authentication Required 511 ( #https://tools.ietf.org/html/rfc6585RFC 6585)&Network Authentication Required 511 ( #https://tools.ietf.org/html/rfc6585RFC 6585)Informational classSuccessful classRedirection classClient Error classServer Error classk"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~h"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~h"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~h"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None9;LTypes which, in a Query-like key-value list, are used in the Value position.JTypes which, in a Query-like key-value list, are used in the Key position.0Types which can, and commonly are, converted to   are in this class.2You can use lists of simple key value pairs, with  (strict, or lazy:  ), , or   as the key/value types. You can also have the value type lifted into a Maybe to support keys without values; and finally it is possible to put each pair into a Maybe for key-value pairs that aren't always present. Convert to  .Safe0YHTTP standard method (as defined by RFC 2616, and PATCH which is defined by RFC 5789).HTTP method (flat string type).HTTP Method constants.HTTP Method constants.HTTP Method constants.HTTP Method constants.HTTP Method constants.HTTP Method constants.HTTP Method constants.HTTP Method constants.HTTP Method constants.Convert a method  ByteString to a  if possible.!Convert an algebraic method to a  ByteString. Convert a  to a  ByteString. None09;<=7RFC 2616 Byte ranges (set).!RFC 2616 Byte range (individual).!Negative indices are not allowed!Response HeadersRequest Headers Header nameHeader HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html HTTP Header names According to 6http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html)Parse the value of a Range header into a .parseByteRanges "error"NothingparseByteRanges "bytes=0-499"Just [ByteRangeFromTo 0 499]parseByteRanges "bytes=500-999"Just [ByteRangeFromTo 500 999]parseByteRanges "bytes=-500"Just [ByteRangeSuffix 500]parseByteRanges "bytes=9500-"Just [ByteRangeFrom 9500]parseByteRanges "bytes=0-0,-1",Just [ByteRangeFromTo 0 0,ByteRangeSuffix 1]'parseByteRanges "bytes=500-600,601-999"6Just [ByteRangeFromTo 500 600,ByteRangeFromTo 601 999]'parseByteRanges "bytes=500-700,601-999"6Just [ByteRangeFromTo 500 700,ByteRangeFromTo 601 999]>>>;None  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnwxyz{|}~"#$%&'()*+,-./0123456789:;<=>?@ABCDEFIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnwxyz{|}~   !      !"#$%&'())*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      'http-types-0.9.1-513M7pGnrTGFw8O1wLzDf0Network.HTTP.Types.VersionNetwork.HTTP.Types.URINetwork.HTTP.Types.StatusNetwork.HTTP.Types.QueryLikeNetwork.HTTP.Types.MethodNetwork.HTTP.Types.HeaderNetwork.HTTP.Types HttpVersion httpMajor httpMinorhttp09http10http11$fShowHttpVersion$fEqHttpVersion$fOrdHttpVersion SimpleQuerySimpleQueryItem QueryTextQuery QueryItemqueryTextToQueryrenderQueryTextqueryToQueryTextparseQueryTextsimpleQueryToQueryrenderQueryBuilder renderQueryrenderSimpleQuery parseQueryparseSimpleQueryurlEncodeBuilder urlEncode urlDecodeencodePathSegmentsencodePathSegmentsRelativedecodePathSegments extractPath encodePath decodePathStatus statusCode statusMessagemkStatus status100 continue100 status101switchingProtocols101 status200ok200 status201 created201 status202 accepted202 status203nonAuthoritative203 status204 noContent204 status205resetContent205 status206partialContent206 status300multipleChoices300 status301movedPermanently301 status302found302 status303 seeOther303 status304notModified304 status305 useProxy305 status307temporaryRedirect307 status308permanentRedirect308 status400 badRequest400 status401unauthorized401 status402paymentRequired402 status403 forbidden403 status404 notFound404 status405methodNotAllowed405 status406notAcceptable406 status407proxyAuthenticationRequired407 status408requestTimeout408 status409 conflict409 status410gone410 status411lengthRequired411 status412preconditionFailed412 status413requestEntityTooLarge413 status414requestURITooLong414 status415unsupportedMediaType415 status416requestedRangeNotSatisfiable416 status417expectationFailed417 status418 imATeaPot418 status422unprocessableEntity422 status428preconditionRequired428 status429tooManyRequests429 status431requestHeaderFieldsTooLarge431 status500internalServerError500 status501notImplemented501 status502 badGateway502 status503serviceUnavailable503 status504gatewayTimeout504 status505httpVersionNotSupported505 status511 networkAuthenticationRequired511statusIsInformationalstatusIsSuccessfulstatusIsRedirectionstatusIsClientErrorstatusIsServerError $fEnumStatus $fOrdStatus $fEqStatus $fShowStatusQueryValueLike toQueryValue QueryKeyLike toQueryKey QueryLiketoQuery$fQueryValueLikeMaybe$fQueryValueLike[]$fQueryValueLikeText$fQueryValueLikeByteString$fQueryValueLikeByteString0$fQueryKeyLike[]$fQueryKeyLikeText$fQueryKeyLikeByteString$fQueryKeyLikeByteString0 $fQueryLike[]$fQueryLike[]0 StdMethodGETPOSTHEADPUTDELETETRACECONNECTOPTIONSPATCHMethod methodGet methodPost methodHead methodPut methodDelete methodTrace methodConnect methodOptions methodPatch parseMethod renderMethodrenderStdMethod$fReadStdMethod$fShowStdMethod $fEqStdMethod$fOrdStdMethod$fEnumStdMethod$fBoundedStdMethod $fIxStdMethod ByteRanges ByteRange ByteRangeFromByteRangeFromToByteRangeSuffixResponseHeadersRequestHeaders HeaderNameHeaderhAccepthAcceptCharsethAcceptEncodinghAcceptLanguage hAcceptRangeshAgehAllowhAuthorization hCacheControl hConnectionhContentEncodinghContentLanguagehContentLengthhContentLocation hContentMD5 hContentRange hContentTypehCookiehDatehETaghExpecthExpireshFromhHosthIfMatchhIfModifiedSince hIfNoneMatchhIfRangehIfUnmodifiedSince hLastModified hLocation hMaxForwardshPragmahProxyAuthenticatehProxyAuthorizationhRangehReferer hRetryAfterhServerhTEhTrailerhTransferEncodinghUpgrade hUserAgenthVaryhViahWWWAuthenticatehWarningrenderByteRangeBuilderrenderByteRangerenderByteRangesBuilderrenderByteRangesparseByteRanges$fShowByteRange $fEqByteRange$fOrdByteRange$fDataByteRange#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.InternalTextbytestring-0.10.8.1Data.ByteString.Internal ByteString Data.ByteString.Builder.InternalBuilder breakDiscardurlEncodeBuilder'queryStringSeparatorsord8 unreservedQS unreservedPIbaseGHC.Num+encodePathSegmentdecodePathSegmentGHC.EnumEnumData.ByteString.Lazy.InternalGHC.BaseString methodArray methodList