Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Tuesday August 05, 2008
05:19 AM

$mech->delete($uri);

[ #37096 ]

With a Test::WWW::Mechanize::Catalyst instance, I recently had to do the following to send a DELETE:

$mech->request(
    HTTP::Request::Common::_simple_req( DELETE => $uri )
);

Give that this isn't too unusual for REST, what did I miss?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • That I already did that locally (use PIPTest::Mechanize), and that I submitted a wishlist against libwww which is supposed to be fixed in the next release.

    I guess Mechanize needs to support it as well though, now that it has support for it in libwww.