WWW::Mechanize::Plugin::Ajax, version 0.05 (alpha)
Plugin for WWW::Mechanize that provides the XMLHttpRequest object.
RECENT CHANGES
No new features; just updated to work with LWP 5.818
No new features; just updated to work with LWP 5.815
• The errors produced when the URL passed to open is from the wrong
site/port/etc. are now DOMException objects.
• The open method now clears the responseText and the request headers.
• The send method now raises a readystatechange event on sending
(without changing the readyState) and for the â€~loadingâ€TM state (3).
• The setRequestHeader method now dies when called at a time other
than between open and send.
• setRequestHeader now throws a syntax error when the arguments do not
conform to HTTP syntax.
• The send method no longer runs scripts on HTML pages that
it fetches.
• setRequestHeader now ignores certain HTTP headers for the sake of
security and HTTP compliancy.
• The send method now dies when the readyState is not OPENED or when
it is called recursively.
• Assigning null to onreadystatechange no longer causes warnings and
errors during event dispatch.
• The argument to the send method is now ignored for GET and
HEAD requests.
INSTALLATION
The easiest way to install this module is to use the CPAN module or the cpan script:
[sudo] perl -MCPAN -e "install WWW::Mechanize::Plugin::Ajax"
[sudo] cpan WWW::Mechanize::Plugin::Ajax
Or you can use the following:
perl Makefile.PL
make
make test
[sudo] make install
DEPENDENCIES
This module requires:
DOCUMENTATION
After installing, you can find documentation for these modules with the perldoc command.
perldoc WWW::Mechanize::Plugin::Ajax
Or try using man (it's faster, in my experience):
man WWW::Mechanize::Plugin::Ajax
COPYRIGHT AND LICENCE
Copyright © 2008 Father Chrysostomos
This program is free software; you may redistribute it and/or modify it under the same terms as perl.