[Haskell-cafe] Network.Browser and getCookies

Justin Bailey jgbailey at gmail.com
Mon Mar 17 11:55:06 EDT 2008


On Sun, Mar 16, 2008 at 10:21 AM, Adam Smyczek <adam.smyczek at gmail.com> wrote:
> Somehow I cannot get cookies from the Response
>  using Network.Browser module (HTTP 3001.0.4).
>  The cookie header part seams to be empty and
>  getCookies returns empty list  as well.

Network.Browser comes with a built-in HTTP trace facility - I'd first
make sure you are getting the HTTP responses you expect. I believe
it's setErrHandler and setDebugHandler - use putStrLn to get a trace
of HTTP traffic on your console.

Justin


More information about the Haskell-Cafe mailing list