Class | Mechanize::Download |
In: |
lib/mechanize/download.rb
|
Parent: | Object |
Download is a pluggable parser for downloading files without loading them into memory first. You may subclass this class to handle content types you do not wish to load into memory first.
See Mechanize::PluggableParser for instructions on using this class.
body_io | -> | content |
body_io | [R] | Accessor for the IO-like that contains the body |
filename | [RW] | The filename for this file based on the content-disposition of the response or the basename of the URL |