changeset 36905:e67a2e05fa8a

hgweb: clarify that apppath begins with a forward slash Differential Revision: https://phab.mercurial-scm.org/D2821
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 11 Mar 2018 13:55:13 -0700
parents d0b0fedbfb53
children 219b23359f4c
files mercurial/hgweb/request.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/request.py	Sun Mar 11 13:38:56 2018 -0700
+++ b/mercurial/hgweb/request.py	Sun Mar 11 13:55:13 2018 -0700
@@ -134,7 +134,8 @@
     remoteuser = attr.ib()
     # Value of REMOTE_HOST, if set, or None.
     remotehost = attr.ib()
-    # WSGI application path.
+    # Relative WSGI application path. If defined, will begin with a
+    # ``/``.
     apppath = attr.ib()
     # List of path parts to be used for dispatch.
     dispatchparts = attr.ib()