Subject: | CODE reference in response object |
Date: | Thu, 22 Jan 2009 19:29:09 -0500 |
To: | bug-www-mechanize-cached [...] rt.cpan.org |
From: | Erik Aronesty <erik [...] q32.com> |
I really need to do these 2 thinngs:
$response->decode();
delete $response->{handlers};
Right before $cache->set( $req, freeze($response) );
Or else the thing doesn't serialize correctly.
I inserted those 2 lines into my local copy of mechanize... and now it
works fine.
I don't think the handlers have to do with the decoding... but storing
gzipped data was silly, since it slowed down the cache to the point
where i thought it was broken.
- Erik