[Haskell-cafe] playing around with network.curl

Michael Litchard michael at schmong.org
Wed Oct 20 19:19:33 EDT 2010


I'm using this tutorial as a guide
http://flygdynamikern.blogspot.com/2009/03/extended-sessions-with-haskell-curl.html

github has changed since this was posted, but I have managed a
successful login. Now I am faced with dealing with a re-direct.
I found this constructor
CurlFollowLocation Bool	

on this page
http://hackage.haskell.org/packages/archive/curl/1.3.5/doc/html/Network-Curl-Opts.html

It seems to do what I want, But I am not clear on how to use it. Could
someone provide an example?

Thanks. End goal is to snarf the cookie that establishes the session.


More information about the Haskell-Cafe mailing list