in reply to 500 error when using WWW::Mechanize

There must be still something else that you are missing.

Your changing of the action looks OK to me, so you should put a http logging proxy inbetween your browser and your net connection and compare that to the requests/content that WWW::Mechanize sends.

As you don't give more hints, it's hard to be more specific. My best guess is, that some JavaScript sets some other hidden fields that your WWW::Mechanize script dosen't set (yet).

perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web

Replies are listed 'Best First'.
Re: Re: 500 error when using WWW::Mechanize
by Anonymous Monk on Oct 17, 2003 at 08:53 UTC
    Hi, I use the ethereal sniffer found that, after the syn/ack and client send hello messagem,the server reply a "TLS" error of "handshake Failure". While I'm sending the client Hello message using SSLv2. Will this "SSLv2" and "TLS" match?