[Haskell-cafe] HTTP package freezes on Windows 7
phil.beadling at googlemail.com
Mon Mar 15 21:05:05 EDT 2010
Scrap my original query - the problem isn't as black & white as I thought.
The below works fine - I've changed the response type from json to
xml.... strange, but for some reason downloading json doesn't work....
it's fine on Linux.
I'm guessing this is more likely to be a Windows issue rather than a
Haskell issue - any ideas?
import qualified Network.HTTP as HTTP
main :: IO ()
x <- getLocation
getLocation = (HTTP.simpleHTTP $ HTTP.getRequest url) >>=
More information about the Haskell-Cafe