up7      !"#$%&'()*+,-./0123456 Safe-Infered789request method  status code :789789 Safe-Infered;<=>;<=>;<=> Safe-Infered?0send the headers as well, necessary for a proxy @?@?@ Safe-InferedABCDEFGHIJKLMNOABCDEFGABCDEFG 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. Optional SOCKS 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 P+, the return monad can be anything that is  an instance of P , such as Q or R. '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. * ST !"#$Uresponse headers VWX( ST !"#$UV  ST !"#$UVWX Safe-Infered YConnKey& 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. Z[\]^_`Ya%&b'()*+,cdZ[\]^_`Ya%&b'()*+,c Z[]\^`_Ya%&b'()*+,cd Safe-Infered-8A simple representation of the HTTP response created by  lbsConsumer. 2JIf 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 e ' 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 3 Convert a - that has a f body to one with a lazy  g body. h Since 1.1.2. -./0123ih-./0123i-./0123ih Safe-Infered4<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  f. The - contains the status code 0 and headers that were sent back to us, and the  f) contains the body of the request. Note  that this f 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 f  into a j$, perhaps a file or another socket. INote: Unlike previous versions, this function will perform redirects, as  specified by the  setting. 5Download the specified , returning the results as a -.  This is a simplified version of 4& 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  4( directly. This function is defined as:   httpLbs = 3 . 4Even 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  f returned by 4. INote: Unlike previous versions, this function will perform redirects, as  specified by the  setting. 69Download the specified URL, following any redirects, and  return the response body. This function will k 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 4 or   httpRedirect directly. 4567  !"#$%&'()*+,-./0123456G654  -./01%*,+&'('()"#32 !$456l    !"#$%&'()*+,-./01234567789:;<=>?@ABCDEFGHIJKLMNOPQRSTUSTVSTWSTXSTYSTZST[ST\]^_`abcdefghijklmnopqrk0stcduvwxCyz{|v}~http-conduit-1.2.3Network.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 requestBodyproxy socksProxyrawBody 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