Ñò ‚Ic @s’ddkZddkZddkZddkZddkZddklZlZddkl Z l Z ddk l Z defd„ƒYZ dS(iÿÿÿÿN(tCommandt BadCommand(tloadappt loadserver(traw_interactivetRequestCommandc BseZdZdZdZdZdZeide ƒZ e i dddd d d d d ƒe i dddd dddd dƒe i dddd dddd dƒe i dddddd dƒddddgZ dgZ eideiƒZd„Zd„ZRS(is#CONFIG_FILE URL [OPTIONS/ARGUMENTS]is+Run a request for the described applicationsÐ This command makes an artifical request to a web application that uses a paste.deploy configuration file for the server and application. Use 'paster request config.ini /url' to request /url. Use 'paster post config.ini /url < data' to do a POST with the given request body. If the URL is relative (doesn't begin with /) it is interpreted as relative to /.command/. The variable environ['paste.command_request'] will be set to True in the request, so your application can distinguish these calls from normal requests. Note that you can pass options besides the options listed here; any unknown options will be passed to the application in environ['QUERY_STRING']. tquiets-ns --app-nametdesttapp_nametmetavartNAMEthelps)Load the named application (default main)s --config-vart config_varss NAME:VALUEtactiontappendsgVariable to make available in the config for %()s substitution (you can use this option multiple times)s--headertheaderssAHeader to add to request (you can use this option multiple times)s--display-headerstdisplay_headerst store_trues(Display headers before the response bodys ^[a-z][a-z]+:cCs÷h}|id}|id}tid|ƒ}|iio^x[|iiD]I}d|jotd|ƒ‚n|iddƒ\}}|||s