comparison mercurial/hgweb/request.py @ 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
comparison
equal deleted inserted replaced
36904:d0b0fedbfb53 36905:e67a2e05fa8a
132 urlscheme = attr.ib() 132 urlscheme = attr.ib()
133 # Value of REMOTE_USER, if set, or None. 133 # Value of REMOTE_USER, if set, or None.
134 remoteuser = attr.ib() 134 remoteuser = attr.ib()
135 # Value of REMOTE_HOST, if set, or None. 135 # Value of REMOTE_HOST, if set, or None.
136 remotehost = attr.ib() 136 remotehost = attr.ib()
137 # WSGI application path. 137 # Relative WSGI application path. If defined, will begin with a
138 # ``/``.
138 apppath = attr.ib() 139 apppath = attr.ib()
139 # List of path parts to be used for dispatch. 140 # List of path parts to be used for dispatch.
140 dispatchparts = attr.ib() 141 dispatchparts = attr.ib()
141 # URL path component (no query string) used for dispatch. Can be 142 # URL path component (no query string) used for dispatch. Can be
142 # ``None`` to signal no path component given to the request, an 143 # ``None`` to signal no path component given to the request, an