Commits

Anonymous committed 2e8139f

Some docstring fixes, and a link fix; exception fix in paste.lint

  • Participants
  • Parent commits 7e5630e
  • Tags 0.9.8.1

Comments (0)

Files changed (4)

 Documentation
 =============
 
-* `Contributing developer guidelines <DeveloperGuidelines>`_
+* `Contributing developer guidelines <DeveloperGuidelines.html>`_
 * `Style guide <StyleGuide.html>`_
 * `Testing applications with Paste <testing-applications.html>`_
 * `URL parsing with WSGI <url-parsing-with-wsgi.html>`_
             continue
         assert type(environ[key]) is StringType, (
             "Environmental variable %s is not a string: %r (value: %r)"
-            % (type(environ[key]), environ[key]))
+            % (key, type(environ[key]), environ[key]))
         
     assert type(environ['wsgi.version']) is TupleType, (
         "wsgi.version should be a tuple (%r)" % environ['wsgi.version'])
 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)
                 body = re.sub(r'<.*?>', '', body)
                 return [body]
             return replacement_app
+
     """
     warnings.warn(
         'wsgilib.capture_output has been deprecated in favor '