The RequestCommand class is accessible via the paste.script.request module.
" This command makes an artifical request to a web application that\n uses a paste.deploy configuration file for the server and\n application.\n\n Use 'paster request config.ini /url' to request /url. Use\n 'paster post config.ini /url < data' to do a POST with the given\n request body.\n\n If the URL is relative (doesn't begin with /) it is interpreted as\n relative to /.command/. The variable environ['paste.command_request']\n will be set to True in the request, so your application can distinguish\n these calls from normal requests.\n\n Note that you can pass options besides the options listed here; any unknown\n options will be passed to the application in environ['QUERY_STRING'].\n "
See the source for more information.