Пример #1
0
 def try_wellknown(self):
     """
     The uri can be extended with '.well-known/resourcesync' which leads to a valid source description.
     :return: Sodesproc on a source description or None
     """
     processor = Sodesproc(self.uri, report_errors=False)
     processor.read_source()
     if processor.status == Status.document:
         processor.report_errors = True
         return processor
     else:
         return None