rapid7/metasploit-framework — pull request #225 by wchen-r7 (2012-03-09 09:25:03+00:00)
Title: Add option OptUri

This is a patch for feature:
http://dev.metasploit.com/redmine/issues/6508

A test case is also included in the above link

Basically, having a URI object prevents module developers to attempt to parse their own URI, which often results in buggy code.