def get_display_info(self):
if self.is_collection:<EOL><INDENT>return {"<STR_LIT:type>": "<STR_LIT>"}<EOL><DEDENT>elif os.extsep in self.name:<EOL><INDENT>ext = self.name.split(os.extsep)[-<NUM_LIT:1>].upper()<EOL>if len(ext) < <NUM_LIT:5>:<EOL><INDENT>return {"<STR_LIT:type>": "<STR_LIT>".format(ext)}<EOL><DEDENT><DEDENT>return {"<STR_LIT:type>": "<STR_LIT>"}<EOL>
Return additional info dictionary for displaying (optional).

        This information is not part of the DAV specification, but meant for use
        by the dir browser middleware.

        This default implementation returns ``{'type': '...'}``