The value of ``PATH_INFO`` with exactly one prefixed slash (to fix broken clients and avoid the "empty path" edge case).
(self)
| 1176 | |
| 1177 | @property |
| 1178 | def path(self): |
| 1179 | """ The value of ``PATH_INFO`` with exactly one prefixed slash (to fix |
| 1180 | broken clients and avoid the "empty path" edge case). """ |
| 1181 | return '/' + self.environ.get('PATH_INFO', '').lstrip('/') |
| 1182 | |
| 1183 | @property |
| 1184 | def method(self): |