AnyEvent::HTTP and "bad" cookies
Mons Anderson
mons at cpan.org
Sat Jun 19 12:33:37 CEST 2010
On Sat, Jun 19, 2010 at 2:16 PM, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Sat, Jun 19, 2010 at 02:13:58PM +0400, "Vladimir V. Perepelitsa" <inthrax at gmail.com> wrote:
>> > I am not sure what you are after - cookie parsing differs significantly
>> > between browsers, and ae::http certainly does it "like browsers do".
>>
>> I want to not agree.
>
> You shouldn't - you should base your desires on facts.
>
>> Expires => "Mon" not looks good, and rest of cookies are ignored.
>
> None of the cookies are getting ignored...
>
So, if none are ignored, then where is the cookie "s", "nonsession"
and "cid" in cookie_jar hash?
And why, when navigate again to address in domain .ebay.com, none of
them got sent to server
I will not insist on that, but I like AnyEvent, I promote it on
conferences like YAPC::Russia and similar local conferences and
workshops, and I repeatedly receive reports, that cookie parsing in
AnyEvent::HTTP is "wrong", i.e. did't work as expected and like
browsers do it. I've been using AE::HTTP for writing robots that works
with many different sites and got the same problem repeatedly.
--
Best wishes,
Vladimir V. Perepelitsa aka Mons Anderson
<inthrax at gmail.com>, <mons at cpan.org>
More information about the anyevent
mailing list