diff options
author | ianb <devnull@localhost> | 2006-09-05 15:01:55 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-09-05 15:01:55 +0000 |
commit | 828bfff4cdb051a35e47b256af0ac5a18ad8ddc8 (patch) | |
tree | e19289d577fee46e3cbd870e788517e381f421a1 /paste/proxy.py | |
parent | e7f8995a01e127e593aa0f08a29f4a0f1ac45d11 (diff) | |
download | paste-828bfff4cdb051a35e47b256af0ac5a18ad8ddc8.tar.gz |
Some docstring fixes, and a link fix; exception fix in paste.lint0.9.8.1
Diffstat (limited to 'paste/proxy.py')
-rw-r--r-- | paste/proxy.py | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/paste/proxy.py b/paste/proxy.py index 40b886e..97a6d04 100644 --- a/paste/proxy.py +++ b/paste/proxy.py @@ -118,11 +118,18 @@ class Proxy(object): def make_proxy(global_conf, address, allowed_request_methods="", suppress_http_headers=""): """ - Make a WSGI application that proxies to another address -- - 'address' should be the full URL ending with a trailing / - 'allowed_request_methods' is a space seperated list of request methods - 'suppress_http_headers' is a space seperated list of http headers (lower case, without the leading http_) - that should not be passed on to target host + Make a WSGI application that proxies to another address: + + ``address`` + the full URL ending with a trailing ``/`` + + ``allowed_request_methods``: + a space seperated list of request methods (e.g., ``GET POST``) + + ``suppress_http_headers`` + a space seperated list of http headers (lower case, without + the leading ``http_``) that should not be passed on to target + host """ from paste.deploy.converters import aslist allowed_request_methods = aslist(allowed_request_methods) |