…tory, fetch_page will return the received (empty) page. also added a test case for this situation.
…a get() call. Note that get(), fetch_page() and set_headers() all now have the ability to accept a hash of arguments as a parameter, allowing us to "stuff" extra parameters into each one while maintaining backwards compatibility (see tests). Special headers specified by :etag and :if_modified_since are recognized, for whatever that's worth. I realize this is kind of a fundamental change for such a simple feature, but it looks like there are some API changes planned for 0.8.0 anyway, so I figured I'd throw this out there and start a conversation about it.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mechanize/trunk@490 f1cf478b-080f-0410-abad-959bfeec9ea8
git-svn-id: svn+ssh://rubyforge.org/var/svn/mechanize/trunk@488 f1cf478b-080f-0410-abad-959bfeec9ea8