Are you sure you wanted to POST to /config/verify and not /config/login?

/config/verify checks EXISTING cookies (it VERIFIES the cookies you 
have). You're starting with an empty jar and verify is asking "Hey, 
do you have Yahoo cookies?", the answer to which is, quite obviously, 
"no", so its assuming that you don't support them.

D

At 7:58 AM -0700 10/16/00, Derek J. Balling wrote:
>I'll check into that. That's a LONG long standing system which 
>actually checks the Agent string to see if you're "capable".
>
>If you plug in a "Mozilla/blah.blah.blah" from a current browser, 
>that will go away.
>
>
>At 4:45 PM -0700 10/13/00, Chris Beels wrote:
>>I tried using my cookie jar script that works on other sites 
>>(including our own) on my.yahoo.com and it told me:
>>Your browser does not support cookies
>>
>>The script is as follows:
>>
>>#!/usr/local/bin/perl
>>
>>use LWP;
>>use HTTP::Cookies;
>>use strict;
>>
>>my $ua = LWP::UserAgent->new;
>>my $cookies = HTTP::Cookies->new;  # Create a cookie jar
>>$ua->cookie_jar($cookies);  # Enable cookies
>>
>>my $req = new HTTP::Request POST => 'http://login.yahoo.com/config/verify';
>>$req->content_type('application/x-www-form-urlencoded');
>>$req->content('login=mylogin&password=mypassword');
>>my $response = $ua->request($req);
>>print $response->content;
>>#END
>>
>>Thanks!
>>Chris Beels
>>RiskGrades Technical Team
>>http://www.riskgrades.com
>
>--
>
>--------------------------------------------------------
>Derek J. Balling                            408-530-5062
>Technical Yahoo                           Do You Yahoo!?

-- 

--------------------------------------------------------
Derek J. Balling                            408-530-5062
Technical Yahoo                           Do You Yahoo!?

Reply via email to