UPDATE: sort of solved.

The web server sets Content-Length to a incorrect value (at least for 
compressed replies), and Mechanize was re-trying the GET before giving 
up.

The temporary fix is to monkey patch Mechanize::HTTP::Agent to ignore 
Content-Length.

A longer-term fix would be to include a mechanism in Mechanize to allow 
ignoring bogus Content-Length.  I've submitted a feature request to 
mechanize/issues.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to