Ñò
‚Ic @ s’ d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z l Z d d k l Z l
Z
d d k l Z d e f d „ ƒ YZ
d S( iÿÿÿÿN( t Commandt
BadCommand( t loadappt
loadserver( t raw_interactivet RequestCommandc
B s e Z d Z d Z d Z d Z d Z e i d e ƒ Z
e
i d d d d d
d d d
ƒe
i d d d d
d d d d d ƒe
i d d d d
d d d d d ƒe
i d d d d d d d ƒd d d d g Z d g Z
e i d e i ƒ Z d „ Z d „ Z RS( i s# CONFIG_FILE URL [OPTIONS/ARGUMENTS]i s+ 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'].
t quiets -ns
--app-namet destt app_namet metavart NAMEt helps) Load the named application (default main)s --config-vart config_varss
NAME:VALUEt actiont appendsg Variable to make available in the config for %()s substitution (you can use this option multiple times)s --headert headerssA Header to add to request (you can use this option multiple times)s --display-headerst display_headerst
store_trues( Display headers before the response bodys
^[a-z][a-z]+:c C s÷ h } | i d } | i d } t i d | ƒ } | i i o^ x[ | i i D]I } d | j o t d | ƒ ‚ n | i d d ƒ \ } } | | |