code: def content_type(self):
          
  
          if hasattr(self, '_content_type'):
              return self._content_type
  
          filename, extension = os.path.splitext(self._file_path)
          if extension == '.csv':
              self._content_type = 'text/csv'
          elif extension == '.tsv':
              self._content_type = 'text/tab-separated-values'
          else:
              self._content_type = 'text/plain'
  
          return self._content_type
docs: Returns the content-type value determined by file extension.