Br      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq Safe-Inferredrrr Safe-Inferred stuvwxyz{|}~tz{|}~ stuvwxyz{|}~None  None;  Safe-InferredRedBlackRed black tree as multimap.(One ore more list to implement multimap.O(log N)O(log N)O(1)O(1)O(1)O(log N) O(N log N)O(N)2O(N) "Constructing Red-Black Trees" by Ralf HinzeO(N)O(N)*"  Safe-Inferred   Safe-InferredNone None None None/The type of the cache of the Date header value."The type of the Date header value. Creating  and executing the action. Getting  based on .    Safe-Inferred Mutable Fd cacher. 'An action to activate a Fd cache entry.  Creating  f and executing the action in the second argument. The first argument is a cache duration in second. Getting  and   from the mutable Fd cacher.     None+; A handle used by %An action to be performed on timeout.A timeout manager\Creating timeout manager which works every N micro seconds where N is the first argument.Stopping timeout manager.Registering a timeout action.4Registering a timeout action of killing this thread. Setting the state to active. % turns active to inactive repeatedly."Setting the state to canceled. 0 eventually removes this without timeout action. Setting the state to paused.  does not change the value.;Setting the paused state to active. This is an alias to ./Call the inner function with a timeout manager.timeout in microsecondsNone+ Internal information.!3Data type to manipulate IO actions for connections.%3filepath, offset, length, hook action, HTTP headers,Whether or not , in !J can be overridden. This is a kind of hack to keep the signature of ! clean.-Override with this .Don't override/Error types for bad Request.7$The type for header value used with .8TCP port number.+Read from a Source, ignoring any leftovers.* !"#$%&'()*+,-./012345678( !"#$%&'()*+,-./012345678 ! "#$%&'()*+,.-/654321078None39 Array for a set of HTTP headers.: The size for 9 for HTTP Request. From 0 to this corresponds to "Content-Length", "Transfer-Encoding", "Expect", "Connection", "Range", and "Host". The size for 9 for HTTP Response.9  :   9  :   9  :   None FHIM$Specify usage of the PROXY protocol.See setProxyProtocolOptional.See setProxyProtocolRequired.See setProxyProtocolNone.<Various Warp server settings. This is purposely kept as an abstract data type so that new settings can be added without breaking backwards compatibility. In order to create a < value, use NK and the various 'set' functions to modify individual fields. For example: setTimeout 20 defaultSettings>&Port to listen on. Default value: 3000?Default value: HostIPv4@xWhat to do with exceptions thrown by either the application or server. Default: ignore server-generated exceptions (see /9) and print application-generated applications to stderr.AA function to create  when an exception occurs.0Default: 500, text/plain, "Something went wrong" Since 2.0.3B+What to do when a connection is open. When s is returned, the connection is closed immediately. Otherwise, the connection is going on. Default: always returns .C;What to do when a connection is close. Default: do nothing.D+Timeout value in seconds. Default value: 30EHUse an existing timeout manager instead of spawning a new one. If used, D is ignored. Default is FsCache duratoin time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 10GCode to run after the listening socket is ready but before entering the main event loop. Useful for signaling to tests that they can start running, or to drop permissions after binding to a restricted port.Default: do nothing. Since 1.3.6H1Code to fork a new thread to accept a connection.kThis may be useful if you need OS bound threads, or if you wish to develop an alternative threading model. Default: void . forkIOWithUnmask Since 3.0.4I&Perform no parsing on the rawPathInfo.(This is useful for writing HTTP proxies.Default: False Since 2.0.3K4Default server name if application does not set one. Since 3.0.2LSee setMaximumBodyFlush. Since 3.0.3M$Specify usage of the PROXY protocol. Since 3.0.5.N]The default settings for the Warp server. See the individual settings for the default value.OApply the logic provided by  to determine if an exception should be shown or not. The goal is to hide exceptions which occur under the normal course of the web server running. Since 2.1.3PDefault implementation of A@ for the debugging purpose. 500, text/plain, a showed exception.<=>?@ABCDEFGHIJKLMNOP<=>?@ABCDEFGHIJKLMNOP<=>?@ABCDEFGHIJKLMNOPNoneQRS<=>?@ABCDEFGHIJKLMQRS<=>?@ABCDEFGHIJKLMQRSQRSNone Contains a Source. and a byte count that is still to be read in. Given an IsolatedBSSource provide a Source} that only allows up to the specified number of bytes to be passed downstream. All leftovers should be retained within the Source5. If there are not enough bytes available, throws a ConnectionClosedByPeer exception.Extract the underlying Source from an IsolatedBSSource-, which will not perform any more isolation. !"#$%&'()*+ !"#$%&'()*+ #"! $%&'()*+None,!parseRequestLine "GET / HTTP/1.1"("GET","/","",HTTP/1.1)8parseRequestLine "POST /cgi/search.cgi?key=foo HTTP/1.0".("POST","/cgi/search.cgi","?key=foo",HTTP/1.0)parseRequestLine "GET ":*** Exception: Warp: Invalid first line of request: "GET "+parseRequestLine "GET /NotHTTP UNKNOWN/1.1">*** Exception: Warp: Request line specified a non-HTTP request-parseHeader "Content-Length:47"("Content-Length","47")"parseHeader "Accept-Ranges: bytes"("Accept-Ranges","bytes")%parseHeader "Host: example.com:8080"("Host","example.com:8080")parseHeader "NoSemiColon"("NoSemiColon","").,-/./.,-/NoneTReceiving a HTTP request from !% and parsing its header to create 0.12345TPeer's address.Where HTTP request comes from.0 passed to 63, how many bytes remain to be consumed, if known 9" of HTTP request for internal use,789content lengthtransfer-encoding:;<=>T7 12345T789:;<=>NoneEHMUSending a HTTP response to ! according to ./Applications/middlewares MUST specify a proper ?U. so that inconsistency does not happen. No header is deleted by this function.Especially, Applications/middlewares MUST take care of Content-Length, Content-Range, and Transfer-Encoding because they are inserted, when necessary, regardless they already exist. This function does not insert Content-Encoding. It's middleware's responsibility.LThe Date and Server header is added if not exist in HTTP response header.%There are three basic APIs to create : @ :: A -> ? -> B -> C D -> HTTP response body is sent by sendfile(). Applications are categorized into simple and sophisticated. Simple applications should specify  to C D. The size of the specified file is obtained by disk access. Then Range is handled. Sophisticated applications should specify E to C D_. They should treat Range (and If-Range) by thierselves. In both cases, Content-Length and Content-Range (if necessary) are automatically added into the HTTP response header. If Content-Length and Content-Range exist in the HTTP response header, they would cause inconsistency. Status is also changed to 206 if necessary.F :: A -> ? -> G -> #HTTP response body is created from . Typically, Transfer-Encoding: chunked is used. If Content-Length is specified, Transfer-Encoding: chunked is not used.responseSource :: A -> ? ->  H (Flush G) -> #HTTP response body is created from G. Typically, Transfer-Encoding: chunked is used. If Content-Length is specified, Transfer-Encoding: chunked is not used.IUse $2 to send this data while respecting timeout rules.VThe version of Warp.J;replaceHeader "Content-Type" "new" [("content-type","old")][("Content-Type","new")]KLMNOPQRUdefault server value HTTP request.Indexed header of HTTP request.$source from client, for raw response8HTTP response including status code and response header..Returing True if the connection is persistent.STIUVWXYZ[\]^V_`JaQUV_KONMLPQRUSTIUVWXYZ[\]^V_`JaNonebcdbcdbcdNoneEMWDefault action value for !.XRun an 6 on the given port. This calls Y with N.YRun an 6 with the given <.ZSame as Y, but uses a user-supplied socket instead of opening one. This allows the user to provide, for example, Unix named socket, which can be used when reverse HTTP proxying into your application.Note that the > will still be passed to 6 s via the  serverPort record.jWhen the listen socket in the second argument is closed, all live connections are gracefully shut-downed.[5Allows you to provide a function which will return a !. In cases where creating the  Connection can be expensive, this allows the expensive computations to be performed in a separate thread instead of the main server loop. Since 1.3.5]QAllows you to provide a function which will return a function which will return !. Since 2.1.4WXYZ[\]efgh is secure?ijget next chunkmaximum to flush3True == flushed the entire body, False == we didn'tklmWXYZ[\]efghijklmWXYZ[\]efghijklmNoneHM^&Port to listen on. Default value: 3000 Since 2.1.0_-Interface to bind to. Default value: HostIPv4 Since 2.1.0`yWhat to do with exceptions thrown by either the application or server. Default: ignore server-generated exceptions (see /:) and print application-generated applications to stderr. Since 2.1.0aA function to create a  when an exception occurs.0Default: 500, text/plain, "Something went wrong" Since 2.1.0b-What to do when a connection is opened. When u is returned, the connection is closed immediately. Otherwise, the connection is going on. Default: always returns . Since 2.1.0c<What to do when a connection is closed. Default: do nothing. Since 2.1.0d+Timeout value in seconds. Default value: 30 Since 2.1.0eIUse an existing timeout manager instead of spawning a new one. If used, D is ignored. Since 2.1.0fsCache duration time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 10gCode to run after the listening socket is ready but before entering the main event loop. Useful for signaling to tests that they can start running, or to drop permissions after binding to a restricted port.Default: do nothing. Since 2.1.0h&Perform no parsing on the rawPathInfo.(This is useful for writing HTTP proxies.Default: False Since 2.1.0iGet the listening port. Since 2.1.1jGet the interface to bind to. Since 2.1.1k#A code to install shutdown handler.For instance, this code should set up a UNIX signal handler. The handler should call the first argument, which close the listen socket, at shutdown.#Default: does not install any code. Since 3.0.1l4Default server name if application does not set one. Since 3.0.2mEThe maximum number of bytes to flush from an unconsumed request body.By default, Warp does not flush the request body so that, if a large body is present, the connection is simply terminated instead of wasting time and bandwidth on transmitting it. However, some clients do not deal with that situation well. You can either change this setting to Nothingx to flush the entire body in all cases, or in your application ensure that you always consume the entire request body.Default: 8192 bytes. Since 3.0.3n1Code to fork a new thread to accept a connection.kThis may be useful if you need OS bound threads, or if you wish to develop an alternative threading model. Default: void . forkIOWithUnmask Since 3.0.4oDo not use the PROXY protocol. Since 3.0.5pRequire PROXY header.SThis is for cases where a "dumb" TCP/SSL proxy is being used, which cannot add an X-Forwarded-ForC HTTP header field but has enabled support for the PROXY protocol.See  :http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt and  shttp://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#proxy-protocol.iOnly the human-readable header format (version 1) is supported. The binary header format (version 2) is not supported. Since 3.0.5qYUse the PROXY header if it exists, but also accept connections without the header. See p.WARNING: This is contrary to the PROXY protocol specification and using it can indicate a security problem with your architecture if the web server is directly accessable to the public, since it would allow easy IP address spoofing. However, it can be useful in some cases, such as if a load balancer health check uses regular HTTP without the PROXY header, but proxied connections do include the PROXY header. Since 3.0.5^_`abcdefghijklmnopqc  !"#$%&'()*+,-./0123456789:;<>?@ABCDEFGINOPTUVWXYZ[\]^_`abcdefghijklmnopq`XYZ[\]<>?@ABCDEFGIN^_`abcdefghklmnopqij>?@ABCDEFGIPO;8/6543210,.-!"#$%&'()*+WV 79:  TU^_`abcdefghijklmnopqn !"#$%&''()*+,-./012344567889:;<=>?@ABCDEFGHIJKLMNOPQRSTTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                ++(       !"#$%&'()*+,-./0./123456789:;<=>>6?@ABCDEFG+,HIIJKL+MNOPQRSTUV  W+MX YZ[2\+,]2^+M_`ab./cdefghijklmnopqrstuvwxyz{|}~ warp-3.0.5Network.Wai.Handler.Warp.BufferNetwork.Wai.Handler.Warp Network.Wai.Handler.Warp.Timeout!Network.Wai.Handler.Warp.Internal Network.Wai.Handler.Warp.Windows Paths_warp'Network.Wai.Handler.Warp.ResponseHeader Network.Wai.Handler.Warp.ReadInt!Network.Wai.Handler.Warp.MultiMapNetwork.Wai.Handler.Warp.IORef Network.Wai.Handler.Warp.CounterNetwork.Wai.Handler.Warp.IONetwork.Wai.Handler.Warp.RecvNetwork.Wai.Handler.Warp.Date Network.Wai.Handler.Warp.FdCacheNetwork.Wai.Handler.Warp.TypesNetwork.Wai.Handler.Warp.Header!Network.Wai.Handler.Warp.Settings Network.Wai.Handler.Warp.Conduit&Network.Wai.Handler.Warp.RequestHeader Network.Wai.Handler.Warp.Request!Network.Wai.Handler.Warp.Response!Network.Wai.Handler.Warp.SendFileNetwork.Wai.Handler.Warp.RunBufSizeBuffer bufferSizeallocateBuffer freeBuffer toBlazeBuffer DateCacheGMTDate withDateCachegetDateMutableFdCacheRefresh withFdCachegetFd TimeoutThreadHandle TimeoutActionManager initialize stopManagerregisterregisterKillThreadticklecancelpauseresume withManager InternalInfo threadHandlefdCacher dateCacher Connection connSendMany connSendAll connSendFile connCloseconnRecvconnReadBufferconnWriteBufferconnBufferSizeconnSendFileOverrideConnSendFileOverrideOverride NotOverrideInvalidRequestBadProxyHeaderOverLargeHeaderConnectionClosedByPeerIncompleteHeadersNonHttp BadFirstLineNotEnoughLines HeaderValuePort IndexedHeaderrequestMaxIndexstreaming-commons-0.1.8Data.Streaming.Network.InternalHostPreferenceSettings settingsPort settingsHostsettingsOnExceptionsettingsOnExceptionResponsesettingsOnOpensettingsOnClosesettingsTimeoutsettingsManagersettingsFdCacheDurationsettingsBeforeMainLoop settingsForksettingsNoParsePathsettingsInstallShutdownHandlersettingsServerNamesettingsMaximumBodyFlushsettingsProxyProtocoldefaultSettingsdefaultShouldDisplayExceptionexceptionResponseForDebug getOnOpen getOnClosegetOnException recvRequest sendResponse warpVersionsocketConnectionrun runSettingsrunSettingsSocketrunSettingsConnectionrunSettingsConnectionMaker runSettingsConnectionMakerSecuresetPortsetHostsetOnExceptionsetOnExceptionResponse setOnOpen setOnClose setTimeout setManagersetFdCacheDurationsetBeforeMainLoopsetNoParsePathgetPortgetHostsetInstallShutdownHandler setServerNamesetMaximumBodyFlushsetForksetProxyProtocolNonesetProxyProtocolRequiredsetProxyProtocolOptionalwindowsThreadBlockHackcatchIOversionbindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName composeHeadercopy httpVer11 httpVer10 copyStatus copyHeaders copyHeadercopyCRLFzerospccoloncrlfTablereadInt readInt64 mhDigitToIntisDigitRBMMapSomesearch searchWithisEmptyempty singletoninsertfromListtoListfromSortedList toSortedList pruneWithDigitDueUnoColorNodeLeafTomOnesnoctopinsert' balanceL' balanceR'turnBincraddlinkAlllinkmergevalid isBalanced isBlackSameblacks isRedSeparatereds isOrdered$fEqMMapbase Data.IORefatomicWriteIORefatomicModifyIORef'atomicModifyIORef modifyIORef' modifyIORef mkWeakIORef GHC.IORef writeIORef readIORefnewIORefIORefCounter newCounterisZeroincreasedecrease toBufIOWithtoBSc_memcpyc_recvreceive receiveloopgetCurrentGMTDateSystem.Posix.TypesFdFdCacheHashFdEntry MutableStatusStatusInactiveActivestatusnewActiveStatusrefreshinactive newFdEntryfdCachelookcleanprune terminateStateCanceledPaused ignoreAll killIfExist$fShowTimeoutThread$fExceptionTimeoutThreadnetwork-2.6.0.2Network.Socket.TypesSockethttp-types-0.8.5Network.HTTP.Types.Header HeaderName readSource'SourcehTransferEncoding hContentRange hAcceptRangeshServermkSource readSourceleftoverSourcereadLeftoverSource$fExceptionInvalidRequest$fShowInvalidRequestresponseMaxIndexindexRequestHeaderidxContentLengthidxTransferEncoding idxExpect idxConnectionidxRangeidxHostrequestKeyIndexdefaultIndexRequestHeaderindexResponseHeader idxServeridxDateresponseKeyIndextraverseHeader ProxyProtocolProxyProtocolOptionalProxyProtocolRequiredProxyProtocolNone wai-3.0.2.1Network.Wai.InternalResponseghc-prim GHC.TypesFalseTrue Data.MaybeNothingdefaultExceptionHandlerdefaultExceptionResponseISource readISource isourceDone ChunkState DoneChunkingHaveLenNeedLenNewlineNeedLenCSource mkISourcebsCRLF mkCSource readCSource isHexDigitparseRequestLine parseHeaderparseHeaderLinesparseByteRangesRequestTHStatus BSEndoListBSEndomaxTotalHeaderLength Network.Wai Application headerLines handleExpect bodyAndSourcetoLength isChunked timeoutBodypushcheckCRResponseHeaders responseFileNetwork.HTTP.Types.StatusGHC.IOFilePathMaybeFilePartJustresponseBuilderblaze-builder-0.3.3.4'Blaze.ByteString.Builder.Internal.TypesBuilderIOconnSink replaceHeaderRspRspRaw RspStream RspBuilderRspFilemapRight fileRangecheckPartRangesendRspsendResponseNoBodyinfoFromRequest checkPersist checkChunkinfoFromResponsehasBodyaddAcceptRangesaddTransferEncodingaddContentLengthaddContentRangeaddDatedefaultServerValue addServercomposeHeaderBuilderdefaultSendFile setSendFilesendFileonEacceptConnectionforkserveConnectionflushEntireBody flushBody connSourcesetSocketCloseOnExecgracefulShutdown