GistLabs/mechanize — pull request #23 by azarai (2012-10-01 15:17:46+00:00)
Title: Prevent NullPointerException

If no file should be uploaded in a multiform form it did fail with a NullPointerException, because it calls new File(null). Added a null check before.