public
Description: Mechanize is a ruby library that makes automated web interaction easy.
Homepage: http://mechanize.rubyforge.org/
Clone URL: git://github.com/tenderlove/mechanize.git
Click here to lend your support to: mechanize and make a donation at www.pledgie.com !
mechanize / FAQ.rdoc
100644 12 lines (7 sloc) 0.397 kb

Q: I keep getting an EOFError:

  protocol.rb:133:in `sysread': end of file reached (EOFError)

A: Some people have experienced an EOFError during normal mechanize usage.

    Most of the time this occurs because the remote website claims to support
    keep alives, but does not implement them correctly.  Try turning off
    keep alives on your mechanize object:

      mech.keep_alive = false