mercurial/hgweb/request.py
changeset 26132 9df8c729e2e7
parent 25660 328739ea70c3
child 26200 461e7b700fdf
--- a/mercurial/hgweb/request.py	Tue Sep 01 23:35:06 2015 +0800
+++ b/mercurial/hgweb/request.py	Sat Aug 22 13:58:59 2015 -0700
@@ -40,6 +40,12 @@
     return form
 
 class wsgirequest(object):
+    """Higher-level API for a WSGI request.
+
+    WSGI applications are invoked with 2 arguments. They are used to
+    instantiate instances of this class, which provides higher-level APIs
+    for obtaining request parameters, writing HTTP output, etc.
+    """
     def __init__(self, wsgienv, start_response):
         version = wsgienv['wsgi.version']
         if (version < (1, 0)) or (version >= (2, 0)):