Network.Browser and getCookies

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. Any idea how to debug this or does someone have a working example? Thanks, Adam

On Sun, Mar 16, 2008 at 10:21 AM, Adam Smyczek
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

Thanks for the tip. Turned out to be a server problem. Adam On Mar 17, 2008, at 8:55 AM, Justin Bailey wrote:
On Sun, Mar 16, 2008 at 10:21 AM, Adam Smyczek
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
participants (2)
-
Adam Smyczek
-
Justin Bailey