diff options
| author | Ian Bicking <ian@ianbicking.org> | 2006-09-05 15:01:55 +0000 |
|---|---|---|
| committer | Ian Bicking <ian@ianbicking.org> | 2006-09-05 15:01:55 +0000 |
| commit | f1f9ce4fd904f762d6fa12bc9a46f3e8bdae560e (patch) | |
| tree | e19289d577fee46e3cbd870e788517e381f421a1 /paste/proxy.py | |
| parent | eacfd8f5f429e0eb7e78bc86e2c2290a065e2dc9 (diff) | |
| download | paste-git-0.9.8.1.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) |
