Module

FetchAction

Fetching pages (and related functionality)

Since lot of things are happening during (and before) the fetching of a document, I decided to move out fetching related functionality to a separate class - so if you are looking for anything which is loading a document (even by submitting a form or clicking a link) and related things like setting a proxy etc. you should find it here.

Public Methods
click_image_map
click_link Click the link specified by the text
determine_protocol
fetch Action to fetch a document (either a file or a http address)
get_current_doc_url At any given point, the current document can be queried with this method; Typically used when the navigation is over and the result document is passed to the wrapper
get_host_name
get_hpricot_doc
get_mechanize_doc
handle_relative_path
handle_relative_url
parse_and_set_basic_auth
parse_and_set_proxy
restore_host_name
restore_page
set_user_agent
store_host_name
store_host_name
store_page
submit Submit the last form;
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.