Questions tagged [http-conduit]

A haskell HTTP client library using conduits

http-conduit is a Haskell HTTP client library using conduit for parsing the HTTP protocol.

78 questions
0
votes
1 answer

defaultManagerSettings not in scope in Network.HTTP.Conduit

In http-conduit version 2.0+ I want to create a custom Manager. The documentation states that defaultManagerSettings should be used in newManager. import Network.HTTP.Conduit main = do manager <- newManager defaultManagerSettings print $…
Uli Köhler
  • 13,012
  • 16
  • 70
  • 120
0
votes
1 answer

How to use Network-HTTP-Conduit applyBasicAuth

I want to use Basic Authentication from Network.HTTP.Conduit and cannot make it work. From the documentation... applyBasicAuth :: ByteString -> ByteString -> Request m -> Request mSource Add a Basic Auth header (with the specified user name and…
Christian Lemer
  • 893
  • 9
  • 15
-2
votes
2 answers

retrieving the values from responseCookieJar

Here is how I am sending a get request: import Network.HTTP.Conduit import Control.Applicative ((<$>)) import Network.HTTP.Types request <- parseUrl $ "someUrl" res <- withManager $ httpLbs request putStrLn $ show $ responseCookieJar res Instead…
Incerteza
  • 32,326
  • 47
  • 154
  • 261
1 2 3 4 5
6