u o6      !"#$%&'()*+,-./012345 Safe-Infered678request method  status code 9678678 Safe-Infered:;<=:;<=:;<= Safe-Infered>0send the headers as well, necessary for a proxy ?>?>? Safe-Infered@ABCDEFGHIJKLMN@ABCDEF@ABCDEF Safe-Infered?Define a HTTP proxy, consisting of a hostname and port number. !The host name of the HTTP proxy. #The port number of the HTTP proxy. When using one of the    /   constructors,  you must ensure  that the Source- can be called multiple times. Usually this  is not a problem. The   will send a chunked request 8 body, note that not all servers support this. Only use    if you know the server you're - sending to supports chunked request bodies. KAll information on how to connect to a host and what should be sent in the  HTTP request. /If you simply wish to download from a URL, see . KThe constructor for this data type is not exposed. Instead, you should use  either the + method to retrieve a default instance, or  to M construct from a URL, and then use the records below to make modifications. H This approach allows http-conduit to add configuration options without # breaking backwards compatibility. #HTTP request method, eg GET, POST.  Whether to use HTTPS (ie, SSL). .Everything from the host to the query string. Optional HTTP proxy. If True, a chunked and/or gzipped body will not be  decoded. Use with caution. 4Predicate to specify whether gzipped data should be  decompressed on the fly (see  and   ). Default: browserDecompress. EHow many redirects to follow when getting a resource. 0 means follow " no redirects. Default value: 10. GCheck the status code. Note that this will run after all redirects are  performed. Default: return a StatusCodeException on non-2XX responses. Convert a URL into a . $This defaults some of the values in , such as setting  to  GET and  to []. Since this function uses O+, the return monad can be anything that is  an instance of O , such as P or Q. 'Always decompress a compressed stream. :Decompress a compressed stream unless the content-type is 'application/x-tar'. !KAdd a Basic Auth header (with the specified user name and password) to the ' given Request. Ignore error handling: applyBasicAuth user pass $ fromJust $ parseUrl url "JAdd a proxy to the the Request so that the Request when executed will use  the provided proxy. #!Add url-encoded paramters to the . This sets a new ), adds a content-type request header and  changes the  to POST. ) RS !"#Tresponse headers UVW' RS !"#TU  RS !"#TUVW Safe-Infered XConnKey& consists of a hostname, a port and a Bool  specifying whether to use SSL. $=Keeps track of open connections for keep-alive. May be used # concurrently by multiple threads. %Settings for a Manager. Please use the  function and then modify  individual settings. &CNumber of connections to a single host to keep alive. Default: 10. 'CCheck if the server certificate is valid. Only relevant for HTTPS. (-Check certificates using the operating system's certificate checker. ) Create a $. You must manually call + to shut it down. *LCreate a new manager, use it in the provided function, and then release it. GThis function uses the default manager settings. For more control, use  ). +Close all connections in a $. Afterwards, the  $ can be reused if desired. YZ[\]^_X`$%a&'()*+bcYZ[\]^_X`$%a&'()*+b YZ\[]_^X`$%a&'()*+bc Safe-Infered,8A simple representation of the HTTP response created by  lbsConsumer. 1JIf a request is a redirection (status code 3xx) this function will create J a new request from the old request, the server headers returned with the E redirection, and the redirection code itself. This function returns d ' if the code is not a 3xx, there is no location header included, or if the  redirected response couldn't be parsed with . JIf a user of this library wants to know the url chain that results from a N specific request, that user has to re-implement the redirect-following logic 6 themselves. An example of that might look like this: L myHttp req man = E.catch (C.runResourceT $ http req' man >> return [req']) B (\ (StatusCodeException status headers) -> do P l <- myHttp (fromJust $ nextRequest status headers) man + return $ req' : l) , where req' = req { redirectCount = 0 } ` nextRequest status headers = getRedirectedRequest req' headers $ W.statusCode status 2 Convert a , that has a e body to one with a lazy  f body. g Since 1.1.2. ,-./012hg,-./012h,-./012hg Safe-Infered3<The most low-level function for initiating an HTTP request. ?The first argument to this function gives a full specification = on the request: the host to connect to, whether to use SSL,  headers, etc. Please see  for full details. The ! second argument specifies which $ should be used. This function then returns a , with a  e. The , contains the status code 0 and headers that were sent back to us, and the  e) contains the body of the request. Note  that this e allows you to have fully = interleaved IO actions during your HTTP download, making it ? possible to download very large responses in constant memory. , You may also directly connect the returned e  into a i$, perhaps a file or another socket. INote: Unlike previous versions, this function will perform redirects, as  specified by the  setting. 4Download the specified , returning the results as a ,.  This is a simplified version of 3& for the common case where you simply N want the response data as a simple datatype. If you want more power, such as > interleaved actions on the response body during download, you'll need to use  3( directly. This function is defined as:   httpLbs = 2 . 3Even though the ," contains a lazy bytestring, this  function does not utilize lazy I/O, and therefore the entire @ response body will live in memory. If you want constant memory  usage, you'll need to use conduit packages's  e returned by 3. INote: Unlike previous versions, this function will perform redirects, as  specified by the  setting. 59Download the specified URL, following any redirects, and  return the response body. This function will j an  for any ? response with a non-2xx status code (besides 3xx redirects up & to a limit of 10 redirects). It uses  to parse the ( input. This function essentially wraps httpLbsRedirect. >Note: Even though this function returns a lazy bytestring, it  does not utilize lazy I/%O, and therefore the entire response > body will live in memory. If you want constant memory usage,  you'll need to use the conduit package and 3 or   httpRedirect directly. 3456  !"#$%&'()*+,-./012345E543  ,-./0$)+*%&'&'(!"21 #345k    !"#$%&'()*+,-./01234566789:;<=>?@ABCDEFGHIJKLMNOPQRSTRSURSVRSWRSXRSYRSZRS[\]^_`abcdefghijklmnopqj/rsbctuvwBxyz{u|}~http-conduit-1.2.2Network.HTTP.ConduitNetwork.HTTP.Conduit.UtilNetwork.HTTP.Conduit.ParserNetwork.HTTP.Conduit.ChunkNetwork.HTTP.Conduit.ConnInfoNetwork.HTTP.Conduit.RequestNetwork.HTTP.Conduit.ManagerNetwork.HTTP.Conduit.Responsedata-default-0.3.0 Data.Defaultdef HttpExceptionHttpParserExceptionTooManyRedirectsInvalidUrlExceptionStatusCodeExceptionProxy proxyHost proxyPort RequestBodyRequestBodySourceChunkedRequestBodySourceRequestBodyBuilder RequestBodyBSRequestBodyLBSRequestmethodsecurehostportpath queryStringrequestHeaders requestBodyproxyrawBody decompress redirectCount checkStatusparseUrlalwaysDecompressbrowserDecompressapplyBasicAuthaddProxyurlEncodedBodyManagerManagerSettingsmanagerConnCountmanagerCheckCertsdefaultCheckCerts newManager withManager closeManagerResponse statusCoderesponseHeaders responseBodygetRedirectedRequest lbsResponsehttphttpLbs simpleHttp<>readDec hasNoBodybytestring-0.9.2.1Data.ByteStringhGetSomenewline sinkHeadersparserHeadersFromByteStringparseChunkHeaderchunkedConduitchunkItConnInfo connCloseconnSink connSource socketConn sslClientConn getSocket tls-0.8.5Network.TLS.ContextCertificateRejectExpiredCertificateRejectRevokedCertificateRejectUnknownCACertificateRejectOtherTLSCertificateRejectReasonCertificateUsageAcceptCertificateUsageRejectTLSCertificateUsage failure-0.2.0Control.FailureFailureghc-prim GHC.TypesIObase Data.MaybeMaybe ContentType needsGunziprequestBuilder$fExceptionHttpException$fDefaultRequestConnKey ConnRelease ConnReuse DontReuseReuse ManagedConnReusedFreshgetConn$fDefaultManagerSettingsNothing conduit-0.2.0Data.Conduit.Types.SourceSourceData.ByteString.Lazy.Internal ByteString$fFunctorResponse getResponseData.Conduit.Types.SinkSinklifted-base-0.1.0.3Control.Exception.LiftedthrowIO