petdance/test-www-mechanize — pull request #28 by mdorman (2012-07-27 18:47:54+00:00)
Title: Give access to important post() functionality in post_ok()

Let me state up front that I don't think there can be a solution to
this that allows users to use any set of arguments that would be valid
for post(), without breaking compatibility for those who have been
using post_ok() already.

However, I think that using the presence of a Content member in the
hashref of options to change our behavior allows users access to the
full capabilities of post() when using post_ok() (though they have to
rejigger their arguments a little bit), while preserving compatibility
for people who have been using this with its current interface.

This commit fixes issue #18.