code: def get_path_info(environ, charset='utf-8', errors='replace'):
      
      path = wsgi_get_bytes(environ.get('PATH_INFO', ''))
      return to_unicode(path, charset, errors, allow_none_charset=True)
docs: Returns the `PATH_INFO` from the WSGI environment and properly
      decodes it.  This also takes care about the WSGI decoding dance
      on Python 3 environments.  if the `charset` is set to `None` a
      bytestring is returned.
  
      .. versionadded:: 0.9
  
      :param environ: the WSGI environment object to get the path from.
      :param charset: the charset for the path info, or `None` if no
                      decoding should be performed.
      :param errors: the decoding error handling.