Please use send_request_cgi if possible. And also recommendations about how to use send_request_cgi must be have into account. You can check:

https://github.com/rapid7/metasploit-framework/wiki/How-to-Send-an-HTTP-Request-Using-HTTPClient