MCPcopy
hub / github.com/pyload/pyload / path

Method path

module/lib/bottle.py:870–873  ·  view source on GitHub ↗

The value of ``PATH_INFO`` with exactly one prefixed slash (to fix broken clients and avoid the "empty path" edge case).

(self)

Source from the content-addressed store, hash-verified

868
869 @property
870 def path(self):
871 ''' The value of ``PATH_INFO`` with exactly one prefixed slash (to fix
872 broken clients and avoid the "empty path" edge case). '''
873 return '/' + self.environ.get('PATH_INFO','').lstrip('/')
874
875 @property
876 def method(self):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected