urlparse puts arguements in uri.query, not uri.path.
Merge pull request #566 from grnbrg/master

urlparse puts arguements in uri.query, not uri.path.