equal
deleted
inserted
replaced
74 apppath = attr.ib() |
74 apppath = attr.ib() |
75 # List of path parts to be used for dispatch. |
75 # List of path parts to be used for dispatch. |
76 dispatchparts = attr.ib() |
76 dispatchparts = attr.ib() |
77 # URL path component (no query string) used for dispatch. |
77 # URL path component (no query string) used for dispatch. |
78 dispatchpath = attr.ib() |
78 dispatchpath = attr.ib() |
|
79 # Whether there is a path component to this request. This can be true |
|
80 # when ``dispatchpath`` is empty due to REPO_NAME muckery. |
|
81 havepathinfo = attr.ib() |
79 # Raw query string (part after "?" in URL). |
82 # Raw query string (part after "?" in URL). |
80 querystring = attr.ib() |
83 querystring = attr.ib() |
81 # List of 2-tuples of query string arguments. |
84 # List of 2-tuples of query string arguments. |
82 querystringlist = attr.ib() |
85 querystringlist = attr.ib() |
83 # Dict of query string arguments. Values are lists with at least 1 item. |
86 # Dict of query string arguments. Values are lists with at least 1 item. |
186 return parsedrequest(url=fullurl, baseurl=baseurl, |
189 return parsedrequest(url=fullurl, baseurl=baseurl, |
187 advertisedurl=advertisedfullurl, |
190 advertisedurl=advertisedfullurl, |
188 advertisedbaseurl=advertisedbaseurl, |
191 advertisedbaseurl=advertisedbaseurl, |
189 apppath=apppath, |
192 apppath=apppath, |
190 dispatchparts=dispatchparts, dispatchpath=dispatchpath, |
193 dispatchparts=dispatchparts, dispatchpath=dispatchpath, |
|
194 havepathinfo='PATH_INFO' in env, |
191 querystring=querystring, |
195 querystring=querystring, |
192 querystringlist=querystringlist, |
196 querystringlist=querystringlist, |
193 querystringdict=querystringdict) |
197 querystringdict=querystringdict) |
194 |
198 |
195 class wsgirequest(object): |
199 class wsgirequest(object): |