9i      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh Safe-Inferrediii Safe-Inferred jklmnopqrstuvkqrstuv jklmnopqrstuvNone wxyz{|}~w wxyz{|}~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  NoneNone 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 override0Error types for bad Request.7$The type for header value used with .8TCP port number.+Read from a Source, ignoring any leftovers.) !"#$%&'()*+,-./012345678' !"#$%&'()*+,-./012345678 !" #$%&'()*+,-/.065432178None9 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 FM;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 JK 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 09) and print application-generated applications to stderr.@A function to create  when an exception occurs.0Default: 500, text/plain, "Something went wrong" Since 2.0.3A+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 .B;What to do when a connection is close. Default: do nothing.C+Timeout value in seconds. Default value: 30DHUse an existing timeout manager instead of spawning a new one. If used, C is ignored. Default is EsCache duratoin time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 10FCode 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.6G&Perform no parsing on the rawPathInfo.(This is useful for writing HTTP proxies.Default: False Since 2.0.3I4Default server name if application does not set one. Since 3.0.2J]The default settings for the Warp server. See the individual settings for the default value.KApply 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.3LDefault implementation of @@ for the debugging purpose. 500, text/plain, a showed exception.;<=>?@ABCDEFGHIJK  L;<=>?@ABCDEFGHIJK  L;<=>?@ABCDEFGHIJK  LNoneMNO;<=>?@ABCDEFGHIMNO;<=>?@ABCDEFGHIMNOMNONone  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 requestparseHeader "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","")NonePReceiving a HTTP request from "% and parsing its header to create . !"#$PPeer's address.Where HTTP request comes from. passed to %, 9" of HTTP request for internal use,&'(content lengthtransfer-encoding)*+,-P&  !"#$P&'()*+,-NoneEHMQSending 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 : / :: 0 -> . -> 1 -> 2 3 -> HTTP response body is sent by sendfile(). Applications are categorized into simple and sophisticated. Simple applications should specify  to 2 3. The size of the specified file is obtained by disk access. Then Range is handled. Sophisticated applications should specify 4 to 2 3_. 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.5 :: 0 -> . -> 6 -> #HTTP response body is created from . Typically, Transfer-Encoding: chunked is used. If Content-Length is specified, Transfer-Encoding: chunked is not used.responseSource :: 0 -> . ->  7 (Flush 6) -> #HTTP response body is created from 6. Typically, Transfer-Encoding: chunked is used. If Content-Length is specified, Transfer-Encoding: chunked is not used.8Use %2 to send this data while respecting timeout rules.RThe version of Warp.9;replaceHeader "Content-Type" "new" [("content-type","old")][("Content-Type","new")]:;<=>?@AQdefault 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.BC8DEFGHIJKLMRNO9P@QRN:>=<;?@AQBC8DEFGHIJKLMRNO9PNoneQRSQRSQRSNoneEMSDefault action value for ".TRun an % on the given port. This calls U with J.URun an % with the given ;.VSame as U, 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 % s via the  serverPort record.jWhen the listen socket in the second argument is closed, all live connections are gracefully shut-downed.W5Allows 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.5YQAllows you to provide a function which will return a function which will return ". Since 2.1.4STUVWXYTUVW is secure?XYZ[STUVWXYTUVWXYZ[STUVWXYTUVWXYZ[NoneZ&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 0:) and print application-generated applications to stderr. Since 2.1.0]A function to create a  when an exception occurs.0Default: 500, text/plain, "Something went wrong" Since 2.1.0^-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.0_<What to do when a connection is closed. Default: do nothing. Since 2.1.0`+Timeout value in seconds. Default value: 30 Since 2.1.0aIUse an existing timeout manager instead of spawning a new one. If used, C is ignored. Since 2.1.0bsCache duration time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 10cCode 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.0d&Perform no parsing on the rawPathInfo.(This is useful for writing HTTP proxies.Default: False Since 2.1.0eGet the listening port. Since 2.1.1fGet the interface to bind to. Since 2.1.1g#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.1h4Default server name if application does not set one. Since 3.0.2Z[\]^_`abcdefgh]  !"#$%&'()*+,-./0123456789:;=>?@ABCDEFGJKLPQRSTUVWXYZ[\]^_`abcdefghZTUVWXY;=>?@ABCDEFGJZ[\]^_`abcdghef=>?@ABCDEFGLK80654321-/."#$%&'()*+,SR !79:  PQZ[\]^_`abcdefgh\ !"#$%&'()**+,-./01234567789:;;<=>?@ABCDEFGHIJKLMNOPQRSSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                ..+      ! "#$%&'()*+,-.//'0123456789::;<=>?@ABCDEFGH>IJKL#MN#O>PQRS TUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxy warp-3.0.2.2Network.Wai.Handler.WarpNetwork.Wai.Handler.Warp.Buffer 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.Runstreaming-commons-0.1.5Data.Streaming.Network.InternalHostPreferenceBufSizeBuffer bufferSizeallocateBuffer freeBuffer toBlazeBuffer DateCacheGMTDate withDateCachegetDateMutableFdCacheRefresh withFdCachegetFd TimeoutThreadHandle TimeoutActionManager initialize stopManagerregisterregisterKillThreadticklecancelpauseresume withManager InternalInfo threadHandlefdCacher dateCacher Connection connSendMany connSendAll connSendFile connCloseconnRecvconnReadBufferconnWriteBufferconnBufferSizeconnSendFileOverrideConnSendFileOverrideOverride NotOverrideInvalidRequestOverLargeHeaderConnectionClosedByPeerIncompleteHeadersNonHttp BadFirstLineNotEnoughLines HeaderValuePort IndexedHeaderrequestMaxIndexSettings settingsPort settingsHostsettingsOnExceptionsettingsOnExceptionResponsesettingsOnOpensettingsOnClosesettingsTimeoutsettingsManagersettingsFdCacheDurationsettingsBeforeMainLoopsettingsNoParsePathsettingsInstallShutdownHandlersettingsServerNamedefaultSettingsdefaultShouldDisplayExceptionexceptionResponseForDebug getOnOpen getOnClosegetOnException recvRequest sendResponse warpVersionsocketConnectionrun runSettingsrunSettingsSocketrunSettingsConnectionrunSettingsConnectionMaker runSettingsConnectionMakerSecuresetPortsetHostsetOnExceptionsetOnExceptionResponse setOnOpen setOnClose setTimeout setManagersetFdCacheDurationsetBeforeMainLoopsetNoParsePathgetPortgetHostsetInstallShutdownHandler setServerNamewindowsThreadBlockHackcatchIOversionbindirlibdirdatadir 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 GHC.IORefIORef readIORef Data.IORefatomicModifyIORef'atomicWriteIORefatomicModifyIORef modifyIORef' modifyIORef mkWeakIORef writeIORefnewIORefCounter newCounterisZeroincreasedecrease toBufIOWithtoBSc_memcpyc_recvreceive receiveloopgetCurrentGMTDateSystem.Posix.TypesFdFdCacheHashFdEntry MutableStatusStatusInactiveActivestatusnewActiveStatusrefreshinactive newFdEntryfdCachelookcleanprune terminate ignoreAll killIfExist writeCounter$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 wai-3.0.2Network.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 setSendFilesendFileonEacceptConnectionforkserveConnection flushBody connSourcesetSocketCloseOnExecgracefulShutdown