in reply to WWW-Mechanizer under windows


Thanks for the comments guys.

I did remove the 0.48 package and installed the new one (1.14) (By the way, is there a list of current repositories and how to add them to ppm?)

I'm still unable to make use of the Mechanize for some reason. A telnet on port 80 works fine.


C:\Perl\projects>perl test.pl OK at test.pl line 30. Code: 500 at test.pl line 31. Actual content: 500 Server closed connection without sending any data +back C:\Perl\projects>
Any ideas? Thanks.

Replies are listed 'Best First'.
Re^2: WWW-Mechanizer under windows
by blm (Hermit) on Oct 27, 2005 at 04:35 UTC

    When you telneted to port 80 did you try issue a

    GET /index.html HTTP/1.0
    following by two presses of the return key? Gettting a 500 Server closed connection without sending any data

    back is consistent with telnet ipaddress 80 connecting but not sending any data.


      Right.
      It seemed like the problem was that I specified a
      $mech->get("http://10.0.1.1") instead of
      $mech->get("http://10.0.1.1/index.htm")
      which is weird because on linux it worked just fine without the index.htm suffix...