[Mechanize-users] Interesting mechanize difficulty
Mat Schaffer
schapht at gmail.com
Tue Sep 26 23:43:35 EDT 2006
On Sep 26, 2006, at 5:09 PM, Aaron Patterson wrote:
> On Tue, Sep 26, 2006 at 01:51:54PM -0400, Mat Schaffer wrote:
>> After looking at the code, I think a behavior decision is necesary
>> before a test case. I can understand the reasoning for raising an
>> exception, but it would be really valuable if the page were still
>> available from the exception. I think putting the page into the
>> ResponseCodeError would be a decent approach. Thoughts Aaron?
>> Should I make a patch to the svn trunk?
>
> You are correct. We should have access to the page after a 404 is
> returned. I also agree that putting the page on the exception is a
> fine
> idea.
>
> If you'd like to patch it, do it against the release branch:
> svn://rubyforge.org/var/svn/mechanize/branches/RB-0.6.0
>
> Otherwise I will fix this error. Thank you!
I might have some time tomorrow and I'd like to help out. I just
updated to 0.6.1 via gem though, so wouldn't it be better to patch
against that? Or are the odds considered unstable?
More information about the Mechanize-users
mailing list