Closed rahulmutt closed 6 years ago
The following program from http-client docs hangs.
http-client
import Network.HTTP.Client import Network.HTTP.Types.Status (statusCode) main :: IO () main = do manager <- newManager defaultManagerSettings request <- parseRequest "http://eta-lang.org" response <- httpLbs request manager putStrLn $ "The status code was: " ++ (show $ statusCode $ responseStatus response) print $ responseBody response
Fixed now.
The following program from
http-client
docs hangs.