Not sure I can add any more than the below! I catch an exception in my code -
the exception is thrown from the HTTP::Cookie code where it's using the HTTP
response to get the HTTP request:
=> my $url = $response->request->url;
so I'd be interested to know if your response contains a reference to the
corresponding request. Mine didn't, so I had to make that link myself.
Brian
ps. I only found this out after a long time of believing that a website I was
using was setting cookies properly. It wasn't, so then I fixed that and broke
this :-)
--- "Michael J. Freeman" <[EMAIL PROTECTED]> wrote: > Thats weird. I use the
same module and have no problem handling cookies.
> I am even able to extract them from the http response I get back and put
> them into a cookiejar.
>
> Can you e-mail the errors?
>
> On Tue, 15 May 2001, Brian Agnew wrote:
>
> > Hello,
> >
> > I encountered a problem last night whilst using the
> > POE::Component::Client::HTTP.pm module to query a web site that returned
> > cookies.
> >
> > My code fell over at line 252 of HTTP::Cookies.pm, since the HTTP::Response
> > object didn't have a reference to the corresponding HTTP::Request object.
> If I
> > inserted the corresponding reference in POE::Component::Client::HTTP.pm
> prior
> > to the extract_cookies method (line 335), then it worked ok.
> >
> > Has anyone else encountered this problem ? I'm pretty sure I'm up-to-date
> wrt.
> > all my libraries. I can submit a patch if need be.
> >
> > Brian
> >
> > =====
> > Brian Agnew http://www.oopsconsultancy.com
> > OOPS Consultancy Ltd
> > +44 (0)20 8767 8028
> >
> > ____________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> > or your free @yahoo.ie address at http://mail.yahoo.ie
> >
>
> --
> Michael J. Freeman ([EMAIL PROTECTED])
> Akamai Technologies, Inc.
>
>
=====
Brian Agnew http://www.oopsconsultancy.com
OOPS Consultancy Ltd
+44 (0)20 8767 8028
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie